Partager via


PolicyAssignment Class

 

Represents a policy assignment.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.PolicyAssignment

Syntax

[SerializableAttribute]
public sealed class PolicyAssignment
[SerializableAttribute]
public ref class PolicyAssignment sealed 
<SerializableAttribute>
Public NotInheritable Class PolicyAssignment

Constructors

Name Description
System_CAPS_pubmethod PolicyAssignment()

Initializes a new instance of the PolicyAssignment class.

Properties

Name Description
System_CAPS_pubproperty Action

Gets or sets the action for the policy assignment. Some policy assignments can have actions, such as delta deletes.

System_CAPS_pubproperty Condition

Gets or sets the condition of the assignment.

System_CAPS_pubproperty Id

Gets or sets the assignment ID.

System_CAPS_pubproperty Policy

Gets or sets the assignment policy.

System_CAPS_pubproperty Reference

Gets or sets the reference data that contains signature information (only in native mode).

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Messages Namespace

Return to top