This class, which models a network connection, is based on Win32_NetworkConnection. This class is not included in a default hardware inventory operation.
Table C.28 Network Connection Attribute Class (SMS_G_System_NETWORK_CONNECTION)
Property (Bold if collected) | Data type | Example | Notes |
---|---|---|---|
Caption | string | "RESOURCE CONNECTED" | Describes the object. Maximum length is 64 characters. |
Comment | string | "Any comment." | Indicates a comment about the network connection. |
ConnectionType | string | "Current Connection" | Indicates the connection type of the network connection. |
Description | string | "RESOURCE CONNECTED - Microsoft Windows Network" | Describes the object. |
DisplayType | string | "Generic" | Indicates the display type of the network connection. |
GroupID | uint32 | 2 | Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are “deltas” of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property. |
InstallDate | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the object was installed. The absence of a value does not indicate that the object is not installed. |
LocalName | string | "c:\\public" | Indicates the local name of the network connection. |
Name | string | "\\\\mermaid\\ hermutil" | Key. Defines the label that the object is known by. Maximum length is 256 characters. |
Persistent | uint32 | 0 | Determines whether the operating system will automatically reestablish this connection at the next logon.
Values are: If the value is True, the network connection will be reestablished automatically. |
ProviderName | string | "Microsoft Windows Network" | Indicates the provider name of the network connection. |
RemoteName | string | "\\\\NTRELEASE\\ IPC$" | Indicates the remote name of the network connection. |
RemotePath | string | "\\\\infosrv1\\ public" | Indicates the remote path to the network connection. |
ResourceId | uint32 | 42 | Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.
A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property. |
ResourceType | string | "CDROM" | Indicates the resource type of the network connection. |
RevisionID | uint32 | 1 | Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property. |
Status | string | "Unknown" | Indicates the current status of the object.
Values are: Maximum length is 10 characters. |
TimeStamp | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the information in this object was last revised. This is not a collectable property. |
UserName | string | "Administrator" | Indicates the user name of the network connection. |