Win32_TSGatewayResourceGroup class

Describes a resource group, which maps a set of resources (computer names) to a single entity.

Syntax

[dynamic, provider("AAGProvider"), AMENDMENT]
class Win32_TSGatewayResourceGroup
{
  string Name;
  string Description;
  string AssociatedRAPs;
  string Resources;
};

Members

The Win32_TSGatewayResourceGroup class has these types of members:

Methods

The Win32_TSGatewayResourceGroup class has these methods.

Method Description
AddResources Adds resources to the Resources property for this resource group.
Create Creates a resource group.
Delete Deletes this resource group.
RemoveResources Deletes resources from the Resources property for this resource group.
SetDescription Sets the Description property for this resource group.
SetName Sets the Name property for this resource group.
SetResources Sets the Resources property for this resource group.
Update Updates this resource group.

Properties

The Win32_TSGatewayResourceGroup class has these properties.

AssociatedRAPs

Data type: string

Access type: Read-only

Semicolon-separated list of Remote Desktop Services resource authorization policies (RD RAPs) that are associated with this resource group.

Description

Data type: string

Access type: Read-only

Description of the resource group. This property can be changed with the SetDescription method.

Name

Data type: string

Access type: Read-only

Qualifiers: key

Name of the resource group. This property can be changed with the SetName method.

Resources

Data type: string

Access type: Read-only

Semicolon-separated list of resources in this resource group. An "*" means all resources. This property can be changed with the SetResources, AddResources, RemoveResources, and Update methods.

Remarks

You must be a member of the Administrators group to use this class.

Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

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

See also

Win32_TSGatewayConnection

Win32_TSGatewayConnectionAuthorizationPolicy

Win32_TSGatewayLoadBalancer

Win32_TSGatewayRADIUSServer

Win32_TSGatewayResourceAuthorizationPolicy

Win32_TSGatewayServerSettings