Policy.InheritsPolicy Method
Gets whether the specified content type inherits its information policy from a site policy, or has an information policy created for that content type.
Namespace: Microsoft.Office.RecordsManagement.InformationPolicy
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Shared Function InheritsPolicy ( _
ct As SPContentType _
) As Boolean
'Usage
Dim ct As SPContentType
Dim returnValue As Boolean
returnValue = Policy.InheritsPolicy(ct)
public static bool InheritsPolicy(
SPContentType ct
)
Parameters
ct
Type: Microsoft.SharePoint.SPContentTypeThe SPContentType object for which to determine whether its information policy inherits from a site policy.
Return Value
Type: System.Boolean
true if the content type inherits its information policy from a site policy; false if the information policy was created directly on the content type.
Remarks
For more information about information policies in content types, see Policies in Content Types.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace