DocumentId.IsAssignmentEnabled Method (SPWeb)
Checks whether the ability to assign DocumentId object values is enabled on a SPWeb object.
Namespace: Microsoft.Office.DocumentManagement
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Syntax
'Declaration
Public Shared Function IsAssignmentEnabled ( _
web As SPWeb _
) As Boolean
'Usage
Dim web As SPWeb
Dim returnValue As Boolean
returnValue = DocumentId.IsAssignmentEnabled(web)
public static bool IsAssignmentEnabled(
SPWeb web
)
Parameters
web
Type: Microsoft.SharePoint.SPWebSPWeb object to test for DocumentId object assignment.
Return Value
Type: System.Boolean
Returns Boolean.