Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The MsSnaStatus_Connection class represents a SNA service connection status.
The following is simplified MOF syntax.
Syntax
class MsSnaStatus_Connection : MsSnaStatus_Config
{
string Name;
string ServiceName;
uint32 Status;
string StatusText;
uint32 InactiveState;
uint16 Failcode;
DateTime FailTime;
}
Properties
Name
Data Type: String Qualifiers: Key Access Type: Read-Only
The name of the connection.
ServiceName
Data Type: String Access Type: Read-Only
Name of the SNA service to which this connection belongs.
Status
Data Type: uint32 Access Type: Read-Only
Name of the SNA service to which this connection belongs.
| Value | Description |
|---|---|
| 0 | |
| 1 | Inactive |
| 2 | Pending |
| 3 | Stopping |
| 4 | Active |
StatusText
Data Type: String Access Type: Read-Only
One of the status values. The following table describes the potential values for StatusText.
| Value | Description |
|---|---|
| 0 | |
| 1 | Stopping |
| 2 | Active |
| 3 | Incoming |
| 4 | OnDemand |
| 5 | OnDemandIncoming |
InactiveState
Data Type: uint32 Access Type: Read-Only
Additional detail on inactive connections. The following table describes the possible values for InactiveState.
| Value | Description |
|---|---|
| 0 | Inactive |
| 1 | Incoming |
| 2 | OnDemand |
| 3 | OnDemandIncoming |
Failcode
Data Type: uint16 Access Type: Read-Only
The failure code. 0 indicates a non-failure.
FailTime
Data Type: DateTime Access Type: Read-Only
The time the failure occurred. Valid only if Failcode is not 0.
Methods
| Method | Description |
|---|---|
| GetObject | Retrieves the instance. |
| EnumerateInstances | Enumerates all instances of the object. |
| ExecMethod | Executes the specified method. |
| Start | Starts the connection. |
| Stop | Stops the connection. |
For more information on GetObject, EnumerateInstances, and ExecMethod, see IWbemServices interface.
Requirements
Platforms: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 11, and Windows 10
See Also
WmiSnaStatus WMI Provider Classes
Administration and Management Programmer's Guide