Skip to content

Latest commit

 

History

History
246 lines (158 loc) · 5.02 KB

win32-sessionbrokertargetevent.md

File metadata and controls

246 lines (158 loc) · 5.02 KB
title description ms.assetid ms.tgt_platform keywords topic_type api_name api_location api_type ms.topic ms.date
Win32_SessionBrokerTargetEvent class
Represents a change to a session broker target.
ee3ae0ed-eb8b-4777-9b9e-0e50722cf52a
multiple
Win32_SessionBrokerTargetEvent class Remote Desktop Services
Win32_SessionBrokerTargetEvent class Remote Desktop Services , described
apiref
Win32_SessionBrokerTargetEvent
Win32_SessionBrokerTargetEvent.SECURITY_DESCRIPTOR
Win32_SessionBrokerTargetEvent.TIME_CREATED
Win32_SessionBrokerTargetEvent.ChangeType
Win32_SessionBrokerTargetEvent.PluginName
Win32_SessionBrokerTargetEvent.TargetName
Win32_SessionBrokerTargetEvent.FarmName
Win32_SessionBrokerTargetEvent.Guid
Win32_SessionBrokerTargetEvent.Environment
TssdWmi.dll
DllExport
reference
05/31/2018

Win32_SessionBrokerTargetEvent class

Represents a change to a session broker target.

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

Syntax

[AMENDMENT]
class Win32_SessionBrokerTargetEvent : __ExtrinsicEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  uint32 ChangeType;
  string PluginName;
  string TargetName;
  string FarmName;
  string Guid;
  string Environment;
};

Members

The Win32_SessionBrokerTargetEvent class has these types of members:

Properties

The Win32_SessionBrokerTargetEvent class has these properties.

ChangeType

Data type: uint32

Access type: Read-only

Specifies the change that occurred. This can be one of the following values.

1 (0x1)

The type of change is not specified.

2 (0x2)

The external IP address has changed.

4 (0x4)

The internal IP address has changed.

8 (0x8)

The target was joined.

16 (0x10)

The target was removed.

32 (0x20)

The state of the target has changed.

64 (0x40)

The target is idle.

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.

Windows Server 2008 R2: This property is unavailable prior to Windows Server 2012

FarmName

Data type: string

Access type: Read-only

The name of the farm the target belongs to.

Windows Server 2008 R2: This property is unavailable prior to Windows Server 2012

Guid

Data type: string

Access type: Read-only

The GUID of the target.

Windows Server 2008 R2: This property is unavailable prior to Windows Server 2012

PluginName

Data type: string

Access type: Read-only

The name of the plug-in.

Windows Server 2008 R2: This property is unavailable prior to Windows Server 2012

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor used by the event provider to determine which users can receive the event. This property is inherited from __Event. For more information about constants used to set this security descriptor, see WMI Security Constants.

TargetName

Data type: string

Access type: Read-only

The name of the target.

Windows Server 2008 R2: This property is unavailable prior to Windows Server 2012

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time at which the event was generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Times (UTC) format. This property is inherited from __Event.

For more information about using uint64 values in scripts, see Scripting in WMI.

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