Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables clients to connect via the TN5250 protocol to a host.
The following syntax is simplified from MOF code.
Syntax
class MsSna_ServiceTN5250 : MsSna_Service
{
String Name;
String Comment;
sint32 Port;
String StatusText;
};
Remarks
Name
Data Type: StringQualifiers: Key, MAXLEN(16)Access Type: Read-Only
The TN5250 service name. Name is the same as the computer name.
Comment
Data Type: StringQualifiers: MAXLEN(25)Access Type: Read/Write
An optional comment field.
Port
Data Type: sint32Qualifiers: MINVALUE(0), MAXVALUE(9999)Access Type: Read/Write
The default port number for the TN5250 service. Port can be overridden on a per-session basis. Use 0 for the default TN5250 port.
StatusText
Data Type: StringAccess Type: Read-Only
The current status of the service. The following table describes the possible values for StatusText.
Value | Description |
---|---|
Not configured | The service is not configured. |
Inactive | The service is inactive. |
Pending | The service is pending. |
Stopping | The service is stopping. |
Active | The service is active. |
Out of Date | The service is out-of-date. |
Paused | The service is paused. |
Methods
Method | Description |
---|---|
Start | Starts the service. |
Stop | Stops the service. |
Requirements
Platforms: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 11, and Windows 10
See Also
WMISNA WMI Provider Classes
Administration and Management Programmer's Guide