PolicyResourceCollection.Add Method

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 String

PolicyResourceCollection.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.

See Also

Reference

PolicyResourceCollection Class

PolicyResourceCollection Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace