Win32_Workspace class

Specifies Remote Desktop Services workspace configuration information.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("Win32_TSCentralPublisher_Prov"), singleton]
class Win32_Workspace : CIM_LogicalElement
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  boolean  IsDefaultName;
  string   ID;
  string   Redirector;
  string   RedirectorAlternateAddress;
};

Members

The Win32_Workspace class has these types of members:

Properties

The Win32_Workspace class has these properties.

Caption
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

Short description (one-line string) of the object.

This property is inherited from CIM_ManagedSystemElement.

Description
Data type: string
Access type: Read-only

Description of the object.

This property is inherited from CIM_ManagedSystemElement.

ID
Data type: string
Access type: Read/write

The identifier of the workspace.

InstallDate
Data type: datetime
Access type: Read-only
Qualifiers: Mappingstrings ("MIF.DMTF|ComponentID|001.5")

The date the object was installed. A lack of a value does not indicate that the object is not installed.

This property is inherited from CIM_ManagedSystemElement.

IsDefaultName
Data type: boolean
Access type: Read-only

Specifies if the workspace name is the default name. Contains nonzero if the name is a default name or zero otherwise.

Name
Data type: string
Access type: Read-only

The name of the object.

This property is inherited from CIM_ManagedSystemElement.

Redirector
Data type: string
Access type: Read/write
Qualifiers: optional

The machine name of the redirector for the workspace.

RedirectorAlternateAddress
Data type: string
Access type: Read/write
Qualifiers: optional

The alternate address for the redirector.

Status
Data type: string
Access type: Read-only
Qualifiers: MaxLen (10)

Current status of the object. Various operational and nonoperational statuses can be defined. Operational statuses include: "OK", "Degraded", and "Pred Fail" (an element, such as a SMART-enabled hard disk drive, may be functioning properly but predicting a failure in the near future). Nonoperational statuses include: "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.

This property is inherited from CIM_ManagedSystemElement.

("OK")

("Error")

("Degraded")

("Unknown")

("Pred Fail")

("Starting")

("Stopping")

("Service")

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Namespace

Root\CIMv2\TerminalServices

MOF

TscPub.mof

DLL

TscPubWmi.dll

 

 

Show: