PolicyFeatureCollection.Add method

Add a policy feature to the SharePoint server farm.

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 StringPolicyFeatureCollection.Add(xmlManifest)
public static void Add(
    string xmlManifest
)

Parameters

  • xmlManifest
    Type: System.String

    An XML representation of the policy feature definition.

Remarks

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

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

See also

Reference

PolicyFeatureCollection class

PolicyFeatureCollection members

Microsoft.Office.RecordsManagement.InformationPolicy namespace