Editar

Partilhar via


MsSnaStatus_ServiceSharedFolder Class

The MsSnaStatus_ServiceSharedFolder class represents a TN3270 service status.

Syntax

  
class MsSnaStatus_ServiceSharedFolder : MsSnaStatus_Config  
{  
   string Name;  
   sint32 Status;  
   string StatusText;  
}  

Properties

Name
Data Type: String Qualifiers: Key Access Type: Read-Only

The name of the service. Name will be the same as the local computer name.

Status
Data Type: sint32 Qualifiers: Key Access Type: Read-Only

The status of the service. The following table describes the potential values for Status.

Value Description
0
1 Inactive
2 Pending
3 Stopping
4 Active

StatusText
Data Type: String Access Type: Read-Only

One of the status values.

Methods

Method Description
GetObject Retrieves the instance.
EnumerateInstances Enumerates the instance.
ExecMethod Executes the specified method.
Start Starts the service.
Stop Stops the service.

For more information on GetObject, EnumerateInstances, and ExecMethod, see IWbemServices interface.

See Also

WmiSnaStatus WMI Provider Classes
Administration and Management Programmer's Guide