HoldSettings.IsOnHold method (String)
Checks whether the specified URL is on hold and returns the date that the last hold was added.
Namespace: Microsoft.Office.RecordsManagement.Preservation
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function IsOnHold ( _
serverRelativeUrl As String _
) As Boolean
'Usage
Dim instance As HoldSettings
Dim serverRelativeUrl As String
Dim returnValue As Boolean
returnValue = instance.IsOnHold(serverRelativeUrl)
public bool IsOnHold(
string serverRelativeUrl
)
Parameters
serverRelativeUrl
Type: System.StringServer-relative URL of a web.
Return value
Type: System.Boolean
The date that the last hold was added.