Share via


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

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

Policy class

Policy members

Microsoft.Office.RecordsManagement.InformationPolicy namespace