다음을 통해 공유


Hold.IsHoldEnabledForCurrentUser Method

Gets whether hold is enabled on the specified web for current user.

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

Syntax

'Declaration
Public Shared Function IsHoldEnabledForCurrentUser ( _
    web As SPWeb _
) As Boolean
'Usage
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = Hold.IsHoldEnabledForCurrentUser(web)
public static bool IsHoldEnabledForCurrentUser(
    SPWeb web
)

Parameters

Return Value

Type: System.Boolean
Whether hold is enabled on the specified web for current user.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace