Win32_SessionBrokerTarget class

Defines the query for a session broker target.

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

Syntax

[dynamic, provider("Win32_WIN32_SESSIONBROKERTARGET_Prov"), AMENDMENT]
class Win32_SessionBrokerTarget
{
  string PluginName;
  string TargetName;
  string FarmName;
  string Guid;
  string Environment;
};

Members

The Win32_SessionBrokerTarget class has these types of members:

Properties

The Win32_SessionBrokerTarget class has these properties.

Environment

Data type: string

Access type: Read-only

The environment name. In the case of a virtual machine (VM) target, this could be the VM host name.

FarmName

Data type: string

Access type: Read-only

The name of the farm the target belongs to.

Guid

Data type: string

Access type: Read-only

Qualifiers: key

The GUID (if any) of the target.

PluginName

Data type: string

Access type: Read-only

Qualifiers: key

The name of the plug-in.

TargetName

Data type: string

Access type: Read-only

The name of the target.

Examples

The following query string demonstrates how the Win32_SessionBrokerTarget class is used in a query.

queryString = string.Format("SELECT * FROM Win32_SessionBrokerTarget WHERE PluginName = '{0}'", pluginName);

Requirements

Requirement Value
Minimum supported client
None supported
Minimum supported server
Windows Server 2008 R2
Namespace
Root\CIMv2\TerminalServices
MOF
TssdWmi.mof
DLL
TssdWmi.dll