다음을 통해 공유


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 (ECM).

See Also

Reference

PolicyFeatureCollection Class

PolicyFeatureCollection Members

Microsoft.Office.RecordsManagement.InformationPolicy Namespace