Compartilhar via


RSOP_PolicySettingLink class

Represents the association between a policy setting and the setting's status.

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

Syntax

[Association, AMENDMENT]
class RSOP_PolicySettingLink
{
  RSOP_PolicySetting       REF setting;
  RSOP_PolicySettingStatus REF status;
};

Members

The RSOP_PolicySettingLink class has these types of members:

Properties

The RSOP_PolicySettingLink class has these properties.

setting

Data type: RSOP_PolicySetting

Access type: Read-only

Qualifiers: key, DisplayName ("Setting")

Reference to the policy setting associated with this link.

status

Data type: RSOP_PolicySettingStatus

Access type: Read-only

Qualifiers: key, DisplayName ("Status")

Reference to the status associated with this link.

Remarks

The RSoPSetPolicySettingStatus function creates an instance of RSOP_PolicySettingStatus and an instance of RSOP_PolicySettingLink. The function links (associates) RSOP_PolicySettingStatus to its RSOP_PolicySetting instance.

To unlink an RSOP_PolicySettingStatus instance from its RSOP_PolicySetting instance, you can call the RSoPResetPolicySettingStatus function.

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_PolicySetting

RSOP_PolicySettingStatus