Partager via


PolicyBodyAction Class

 

Represents the policy body action that instructs the client on how to apply the policy.

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

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Messages.PolicyBodyAction

Syntax

[SerializableAttribute]
public sealed class PolicyBodyAction : IXmlSerializable
[SerializableAttribute]
public ref class PolicyBodyAction sealed : IXmlSerializable
<SerializableAttribute>
Public NotInheritable Class PolicyBodyAction
    Implements IXmlSerializable

Constructors

Name Description
System_CAPS_pubmethod PolicyBodyAction()

Initializes a new instance of the PolicyBodyAction class.

Properties

Name Description
System_CAPS_pubproperty IsDcmCIVersionInfo

If true, the contained policy is likely a DCM configuration item.

System_CAPS_pubproperty PolicyActionType

Gets or sets the policy action type (WMI-XML).

System_CAPS_pubproperty PolicyText

Gets or sets the policy body data in text form (WMI-MOF).

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSchema()

This method is reserved and should not be used.

When you implement the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method. If you need to specify a custom schema, apply the XmlSchemaProviderAttribute to the class.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ReadXml(XmlReader)

Generates an object from its XML representation.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod WriteXml(XmlWriter)

Converts an object into its XML representation.

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