다음을 통해 공유


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