Win32_NetworkConnection, ROOT\CIMV2

Class | Methods | Properties (17) | Qualifiers (5) | Instances (4) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_NetworkConnection class represents an active network connection in a Win32 environment.

Win32_NetworkConnection properties

Win32_NetworkConnection has 17 properties (12 Local, 5 Derived)

NameOriginCIMType
AccessMaskWin32_NetworkConnection19 [uint32]
CaptionCIM_ManagedSystemElement8 [string]
CommentWin32_NetworkConnection8 [string]
ConnectionStateWin32_NetworkConnection8 [string]
ConnectionTypeWin32_NetworkConnection8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DisplayTypeWin32_NetworkConnection8 [string]
InstallDateCIM_ManagedSystemElement101 [datetime]
LocalNameWin32_NetworkConnection8 [string]
key
Name
CIM_ManagedSystemElement8 [string]
PersistentWin32_NetworkConnection11 [boolean]
ProviderNameWin32_NetworkConnection8 [string]
RemoteNameWin32_NetworkConnection8 [string]
RemotePathWin32_NetworkConnection8 [string]
ResourceTypeWin32_NetworkConnection8 [string]
StatusCIM_ManagedSystemElement8 [string]
UserNameWin32_NetworkConnection8 [string]

Detailed description of Win32_NetworkConnection properties

Local properties (12) of Win32_NetworkConnection class

AccessMask property
BitMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '16', '17', '18', '19', '20']
BitValues['FILE_READ_DATA (file) or FILE_LIST_DIRECTORY (directory)', 'FILE_WRITE_DATA (file) or FILE_ADD_FILE (directory)', 'FILE_APPEND_DATA (file) or FILE_ADD_SUBDIRECTORY (directory)', 'FILE_READ_EA', 'FILE_WRITE_EA', 'FILE_EXECUTE (file) or FILE_TRAVERSE (directory)', 'FILE_DELETE_CHILD (directory)', 'FILE_READ_ATTRIBUTES', 'FILE_WRITE_ATTRIBUTES', 'DELETE', 'READ_CONTROL', 'WRITE_DAC', 'WRITE_OWNER', 'SYNCHRONIZE']
CIMTYPE'uint32'
Description'The AccessMask property is a bit array representing the access rights as set remotely on the network share held by the user or group on whose behalf the instance is returned. This property is only supported under Windows NT and Windows 2000. '
readTrue
Schema'Win32'
AccessMask property is in 17 classes of ROOT\cimv2 and in 142 namespaces
Comment property
CIMTYPE'string'
Description'The Comment property contains a comment supplied by the network provider.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|lpComment']
readTrue
Comment property is in 4 classes of ROOT\cimv2 and in 10 namespaces
ConnectionState property
CIMTYPE'string'
Description'The ConnectionState property indicates the current state of the network connection.'
MappingStrings['Win32API|Network Management Structures|USE_INFO_1|ui1_status']
MaxLen20
readTrue
ValueMap['Connected', 'Error', 'Paused', 'Disconnected', 'Connecting', 'Reconnecting']
Values['Connected', 'Error', 'Paused', 'Disconnected', 'Connecting', 'Reconnecting']
ConnectionState property is in 1 class (Win32_NetworkConnection) of ROOT\cimv2 and in 6 namespaces
ConnectionType property
CIMTYPE'string'
Description'The ConnectionType property indicates the persistence type of the connection used for connecting to the network.
Example: Permanent.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|dwScope']
readTrue
ValueMap['Current Connection', 'Persistent Connection']
Values['Current Connection', 'Persistent Connection']
ConnectionType property is in 1 class (Win32_NetworkConnection) of ROOT\cimv2 and in 15 namespaces
DisplayType property
CIMTYPE'string'
Description'The DisplayType property indicates how the network object should be displayed in a network browsing user interface.
Example: Generic.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|dwDisplayType']
readTrue
ValueMap['Domain', 'Generic', 'Server', 'Share']
Values['Domain', 'Generic', 'Server', 'Share']
DisplayType property is in 4 classes of ROOT\cimv2 and in 5 namespaces
LocalName property
CIMTYPE'string'
Description'The LocalName property indicates the local name of the connected network device.
Example: c:\public.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|lpLocalName']
readTrue
LocalName property is in 1 class (Win32_NetworkConnection) of ROOT\cimv2 and in 2 namespaces
Persistent property
CIMTYPE'boolean'
Description'The Persistent property determines whether this connection will be reconnected automatically by the operating system on the next logon.
Values: TRUE or FALSE. A value of TRUE indicates the network connection will be automatically connected.'
MappingStrings['Win32API|Windows Networking Functions|WNetEnumResource']
readTrue
Persistent property is in 3 classes of ROOT\cimv2 and in 4 namespaces
ProviderName property
CIMTYPE'string'
Description'The ProviderName property contains the name of the provider that owns the resource. This property can be NULL if the provider name is unknown.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|lpProvider']
readTrue
ProviderName property is in 19 classes of ROOT\cimv2 and in 142 namespaces
RemoteName property
CIMTYPE'string'
Description'The RemoteName property contains the remote network resource name for a network resource. For a current or persistent connection, RemoteName contains the network name associated with the name of the value in the LocalName property. The name in RemoteName must follow the network provider's naming conventions.
Example: \\NTRELEASE.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|lpRemoteName']
readTrue
RemoteName property is in 2 classes of ROOT\cimv2 and in 2 namespaces
RemotePath property
CIMTYPE'string'
Description'The RemotePath property contains the full path to the network resource.
Example: \\infosrv1\public'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|lpRemoteName']
readTrue
RemotePath property is in 1 class (Win32_NetworkConnection) of ROOT\cimv2 and in 3 namespaces
ResourceType property
CIMTYPE'string'
Description'The ResourceType property identifies the type of resource to enumerate or connect to.'
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE|dwType']
readTrue
ValueMap['Disk', 'Print', 'Any']
Values['Disk', 'Print', 'Any']
ResourceType property is in 1 class (Win32_NetworkConnection) of ROOT\cimv2 and in 7 namespaces
UserName property
CIMTYPE'string'
Description'The UserName property contains the user name or the default user name used to establish a network connection.
Example: SYSTEM.'
MappingStrings['Win32API|Windows Networking Functions|WNetGetUser']
readTrue
UserName property is in 8 classes of ROOT\cimv2 and in 33 namespaces

Derived properties (5) of Win32_NetworkConnection class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property indicates the name of the current network connection. It is the combination of the value in the RemoteName property and the value in the LocalName property.
Example: \\NTRELEASE (c:\public).'
keyTrue
MappingStrings['Win32API|Windows Networking Structures|NETRESOURCE']
Override'Name'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces

Win32_NetworkConnection Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'The Win32_NetworkConnection class represents an active network connection in a Win32 environment.'
dynamicTrue
Locale1033
provider'CIMWin32'
UUID'{8502C4CD-5FBB-11D2-AAC1-006008C78BC7}'

Win32_NetworkConnection System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_NetworkConnection'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT17___SYSTEM3
__RELPATH'Win32_NetworkConnection'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_LogicalElement'___SYSTEM8
__CLASS'Win32_NetworkConnection'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_NetworkConnection

Number of classes:21
WUtils.com
online utility - toplist