Share via


HoldSettings.IsAnyParentOnHold method

Checks if any parent 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 IsAnyParentOnHold ( _
    serverRelativeUrl As String _
) As Boolean
'Usage
Dim instance As HoldSettings
Dim serverRelativeUrl As String
Dim returnValue As Boolean

returnValue = instance.IsAnyParentOnHold(serverRelativeUrl)
public bool IsAnyParentOnHold(
    string serverRelativeUrl
)

Parameters

  • serverRelativeUrl
    Type: System.String

    The server-relative URL of the web to check.

Return value

Type: System.Boolean
true if any parent of the specified web is on hold; otherwise, false.

See also

Reference

HoldSettings class

HoldSettings members

Microsoft.Office.RecordsManagement.Preservation namespace