HoldSettings.IsAnySubwebOnHold method
Checks whether any subweb of the specified web is on hold.
Namespace: Microsoft.Office.RecordsManagement.Preservation
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Function IsAnySubwebOnHold ( _
serverRelativeUrl As String _
) As Boolean
'Usage
Dim instance As HoldSettings
Dim serverRelativeUrl As String
Dim returnValue As Boolean
returnValue = instance.IsAnySubwebOnHold(serverRelativeUrl)
public bool IsAnySubwebOnHold(
string serverRelativeUrl
)
Parameters
serverRelativeUrl
Type: System.StringThe server-relative URL of the web to check.
Return value
Type: System.Boolean
true if any subweb of the specified web is on hold; otherwise, false.