Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified information policy to the collection.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
'Declaration
Public Shared Sub Add ( _
site As SPSite, _
xmlManifest As String _
)
'Usage
Dim site As SPSite
Dim xmlManifest As StringPolicyCollection.Add(site, xmlManifest)
public static void Add(
SPSite site,
string xmlManifest
)
site
Type: Microsoft.SharePoint.SPSiteThe site collection to which to add the information policy.
xmlManifest
Type: System.StringAn XML representation of the policy definition.
To validate an XML representation of an information policy, use the ValidateManifest method of the Policy object.
For more information about the schema to which policy definitions must adhere, see Policy Schema Overview.
Microsoft.Office.RecordsManagement.InformationPolicy namespace