PolicyResourceCollection.Add PolicyResourceCollection.Add PolicyResourceCollection.Add Method

Definition

Overloads

Add(String) Add(String) Add(String)

Adds the specified policy resource to the resource collection for this policy feature.

Add(PolicyConfigService, Boolean, String) Add(PolicyConfigService, Boolean, String) Add(PolicyConfigService, Boolean, String)

Adds a policy resource with the specified manifest.

Add(String) Add(String) Add(String)

Adds the specified policy resource to the resource collection for this policy feature.

public:
 static void Add(System::String ^ xmlManifest);
public static void Add (string xmlManifest);
Public Shared Sub Add (xmlManifest As String)
Parameters
xmlManifest
String String String

An XML representation of the policy resource definition.

Remarks

To validate an XML representation of an information policy, use the ValidateManifest(String) method of the PolicyResource object.

For more information about the schema to which policy resource definitions must adhere, see Policy Resource Definition Schema.

Add(PolicyConfigService, Boolean, String) Add(PolicyConfigService, Boolean, String) Add(PolicyConfigService, Boolean, String)

Adds a policy resource with the specified manifest.

public:
 static void Add(Microsoft::Office::RecordsManagement::Internal::PolicyConfigService ^ service, bool fDeferredUpdate, System::String ^ xmlManifest);
public static void Add (Microsoft.Office.RecordsManagement.Internal.PolicyConfigService service, bool fDeferredUpdate, string xmlManifest);
Public Shared Sub Add (service As PolicyConfigService, fDeferredUpdate As Boolean, xmlManifest As String)
Parameters
service
PolicyConfigService PolicyConfigService PolicyConfigService

The policy configuration service.

fDeferredUpdate
Boolean Boolean Boolean

Whether to defer the service update.

xmlManifest
String String String

The policy resource manifest.

Applies to