PolicyBody Class

 

Represents the raw policy body.

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

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.PolicyBody
    Microsoft.ConfigurationManagement.Messaging.Messages.CIVersionInfoPolicyInstance

Syntax

[SerializableAttribute]
public class PolicyBody
[SerializableAttribute]
public ref class PolicyBody 
<SerializableAttribute>
Public Class PolicyBody

Constructors

Name Description
System_CAPS_pubmethod PolicyBody()

Initializes a new instance of the PolicyBody class.

Properties

Name Description
System_CAPS_pubproperty HasPolicyRules

If true, there is rule data; otherwise it's an empty policy

System_CAPS_pubproperty IsDcmCIVersionInfoPolicy

If true, the policy represents a DCM configuration item.

System_CAPS_pubproperty PolicyId

Gets or sets the policy GUID.

System_CAPS_pubproperty PolicyRules

Contains the policy rule information.

System_CAPS_pubproperty PolicySource

Gets or sets the policy source, which is the site the policy came from.

System_CAPS_pubproperty PolicyType

Gets or sets the policy type.

System_CAPS_pubproperty PolicyVersion

Gets or sets the policy version.

System_CAPS_pubproperty RawPolicyText

Contains the raw policy data.

System_CAPS_pubproperty SchemaVersion

Gets or sets the schema version.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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