Partager via


RSOP_GPLink class

Represents the links from a site, domain, organizational unit, or local scope, to one or more GPOs. All the links from the current scope of management (SOM), including those that have been disabled, are represented in the namespace.

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

Syntax

[Association, AMENDMENT]
class RSOP_GPLink
{
  RSOP_SOM REF SOM;
  RSOP_GPO REF GPO;
  uint32       somOrder = 0;
  uint32       linkOrder = 0;
  uint32       appliedOrder = 0;
  boolean      enabled = TRUE;
  boolean      noOverride = FALSE;
};

Members

The RSOP_GPLink class has these types of members:

Properties

The RSOP_GPLink class has these properties.

appliedOrder

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Applied Order")

Overall order of the applied GPO links across the applicable SOMs.

enabled

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Is Enabled")

Indicates whether this link is enabled or disabled.

GPO

Data type: RSOP_GPO

Access type: Read-only

Qualifiers: key, DisplayName ("GPO")

Reference to the GPO associated with this link.

linkOrder

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Link Order")

Overall order of the GPO links across the applicable SOMs.

noOverride

Data type: boolean

Access type: Read-only

Qualifiers: DisplayName ("Force")

Indicates whether this link is enforced down the SOM hierarchy of sites, domains and organizational units.

SOM

Data type: RSOP_SOM

Access type: Read-only

Qualifiers: key, DisplayName ("SOM")

Reference to the SOM associated with this link.

somOrder

Data type: uint32

Access type: Read-only

Qualifiers: key, DisplayName ("SOM Order")

Order of the link within the SOM.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\RSOP\Computer, Root\RSOP\User
MOF
Rsop.mof
DLL
GPSvc.dll

See also

Group Policy Overview

Group Policy RSoP WMI Classes

RSOP_GPO

RSOP_SOM