This topic has not yet been rated - Rate this topic

DocumentId.IsFeatureEnabled Method

SharePoint 2010

Gets the feature status in the specified SPSite collection.

Namespace:  Microsoft.Office.DocumentManagement
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
public static bool IsFeatureEnabled(
	SPSite site
)

Parameters

site
Type: Microsoft.SharePoint.SPSite
SPSite collection that is checked

Return Value

Type: System.Boolean
true if the Document ID feature is enabled; otherwise false.
Exception Condition
ArgumentNullException

SPSite is set to null.

ArgumentException

Site Features collection is set to null.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ