Share via


PolicyFeature.State property

Gets and sets whether the policy feature is hidden or visible.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Property State As PolicyFeatureState
    Get
    Set
'Usage
Dim instance As PolicyFeature
Dim value As PolicyFeatureState

value = instance.State

instance.State = value
public PolicyFeatureState State { get; set; }

Property value

Type: Microsoft.Office.RecordsManagement.InformationPolicy.PolicyFeatureState
A PolicyFeatureState enumeration that is one of the following two values: Hidden or Visible.

Remarks

Hidden policy features are not displayed in the Microsoft SharePoint Server 2010 user interface for inclusion in information policies. However, they can still be accessed programmatically.

See also

Reference

PolicyFeature class

PolicyFeature members

Microsoft.Office.RecordsManagement.InformationPolicy namespace