# IRdNtServerStatus Interface Reference

Inherits IDispatch.

List of all members.

## Public Member Functions
HRESULT | Clear (void)
HRESULT | GetAsText ([out, retval] BSTR *pVal)
## Properties
ReNtServerStatus * | Status`[get]`
ReNtServerStatus | Status`[set]`

## Detailed Description

RnNtServer node exposes this data object in Status attribute (CON_NETWORK_NTSERVER_STATUS). You can find here some server's status parameters.

## Member Function Documentation

HRESULT IRdNtServerStatus::Clear | ( | void |  | ) |

Clear this data object.

        var srvStatus = System.CreateDO('Network Package/Net Server Status Data');
        var srvStatus.Clear();

HRESULT IRdNtServerStatus::GetAsText | ( | [out, retval] BSTR * | pVal | ) |

Call this method to get the data object content in string form.

Returns:
  pVal [out, retval] Returns text representation of this data object.

     var srvTxt = srvStatus.GetAsTExt;

## Property Documentation

ReNtServerStatus * IRdNtServerStatus::Status`[get]`

Read Status property to find the last written server's status.

Returns:
  peStatus [out, retval] Returns current server status.
  See RnNtServer::ReNtServerStatus.

     var srvStat = srvStatus.Status;

ReNtServerStatus IRdNtServerStatus::Status`[set]`

Write Status property to set the current server's status.

Parameters:

  | eStatus | [in] New server status. See RnNtServer::ReNtServerStatus.

     srvStatus.Status = svrSTat;