PowerSNMP for .NET CF
Usage Enumeration
See Also  Send comments on this topic.
Dart.Snmp Namespace : Usage Enumeration




Indicates the Usage of each class derived from MibNode.

Syntax

Visual Basic (Declaration) 
Public Enum Usage 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As Usage
C# 
public enum Usage : System.Enum 
Managed Extensions for C++ 
__value public enum Usage : public System.Enum 
C++/CLI 
public enum class Usage : public System.Enum 

Members

MemberDescription
Group

The MibNode is a OBJECT-GROUP or NOTIFICATION-GROUP.

The MibNode.Oid property returns the Object Identifier (OID) of the MibNode. When MibNode.Usage evaluates to Usage.Group, the Instance Identifier (IID) is generated by appending a ".0" to the OID.

MibNode objects of this type will normally have values for MibNode.Oid, MibNode.Usage, MibDefinition.Name, MibDefinition.Description, MibDefinition.Module, MibNode.Objects (if an OBJECT-GROUP) and MibNode.Notifications (if a NOTIFICATION-GROUP).

Identifier

The MibNode does not identify an object, but is a node that identifies a branch of the MIB tree.

The Oid property returns the Object Identifier (OID) of the MibNode, but no Instance Identifier (IID) exists for this node.

MibNode objects of this Usage will normally have values for MibNode.Oid, MibDefinition.Module and MibDefinition.Name.

Notification

The MibNode is a NOTIFICATION-TYPE.

The Oid property returns the Object Identifier (OID) of the MibNode. When Usage evaluates to Usage.Notification, the Instance Identifier (IID) of the object is generated by adding a ".0" suffix to the OID. This occurs automatically when a MibNode of this type is used in the constructor of a MibNode.

MibNode objects of this type will normally have values for MibNode.Oid, MibNode.Usage, MibNode.Status, MibDefinition.Description, MibDefinition.Name, MibDefinition.Module and MibNode.Objects.

Object

The MibNode is an OBJECT-TYPE, but is not a Usage.Table, Usage.TableEntry, or Usage.TableColumn.

The Oid property returns the Object Identifier (OID) of the MibNode. For nodes of this usage, the Instance Identifier (IID) of the scalar object is generated by adding a ".0" suffix to the OID. This occurs automatically when a MibNode of this type is used.

MibNode objects of this usage will normally have values for MibNode.Oid, MibNode.Usage, MibNode.Access, MibNode.Status, MibDefinition.Description, MibDefinition.Name, MibDefinition.Module and MibNode.ValueType.

Table

The MibNode is an OBJECT-TYPE that parsing has determined to be a table.

The Oid property returns the Object Identifier (OID) of the MibNode. When Usage evaluates to Usage.Table, Access is Access.NotAccessible, indicating the instance is not accessible.

MibNode objects of this type will normally have values for MibNode.Oid, MibNode.Usage, MibNode.Access, MibNode.Status, MibDefinition.Description, MibDefinition.Name, MibDefinition.Module and MibNode.ValueType.

TableColumn

The MibNode is an OBJECT-TYPE that parsing has determined to be a table column.

The Oid property returns the Object Identifier (OID) of the MibNode. When Usage evaluates to Usage.TableColumn, the Instance Identifier (IID) of the row of interest is generated by appending an indexer that is specific to the definition of the corresponding table entry (this may be computed by removing the trailing ".1" from the Oid of the table column).

MibNode objects of this type will normally have values for MibNode.Oid, MibNode.Usage, MibNode.Access, MibNode.Status, MibDefinition.Description, MibDefinition.Name, MibDefinition.Module and MibNode.ValueType.

TableEntry

The MibNode is an OBJECT-TYPE that parsing has determined to be a table entry that describes a row.

The Oid property returns the Object Identifier (OID) of the MibNode. When Usage evaluates to Usage.TableEntry, Access is Access.NotAccessible, indicating the instance is not accessible.

MibNode objects of this type will normally have values for MibNode.Oid, MibNode.Usage, MibNode.Access, MibNode.Status, MibDefinition.Description, MibDefinition.Name, MibNode.Index, MibDefinition.Module and MibNode.ValueType.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Dart.Snmp.Usage

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.