ConfigMgrPolicyBodyDownloadReply.AddPolicyBody Method (IMessage, Boolean)
Adds a policy body to the internal store from an existing message.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public PolicyBody AddPolicyBody(
IMessage replyMessage,
bool isCompressed
)
public:
PolicyBody^ AddPolicyBody(
IMessage^ replyMessage,
bool isCompressed
)
Public Function AddPolicyBody (
replyMessage As IMessage,
isCompressed As Boolean
) As PolicyBody
Parameters
replyMessage
Type: Microsoft.ConfigurationManagement.Messaging.Framework.IMessageThe reply message.
isCompressed
Type: System.BooleanIf true, the message is compressed.
Return Value
Type: Microsoft.ConfigurationManagement.Messaging.Messages.PolicyBody
See Also
ConfigMgrPolicyBodyDownloadReply Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top