Share via


PolicyResourceCollection.Add Method (String)

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

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Sub Add ( _
    xmlManifest As String _
)
'Usage
Dim xmlManifest As StringPolicyResourceCollection.Add(xmlManifest)
public static void Add(
    string xmlManifest
)

Parameters

  • xmlManifest
    Type: System.String

    An XML representation of the policy resource definition.

Remarks

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

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

See Also

Reference

PolicyResourceCollection Class

PolicyResourceCollection Members

Add Overload

Microsoft.Office.RecordsManagement.InformationPolicy Namespace