다음을 통해 공유


Hold.GetEdiscoveryHub Method

Gets the hub of the site subscription of which the specified site belongs.

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

Syntax

'Declaration
Public Shared Function GetEdiscoveryHub ( _
    site As SPSite _
) As SPSite
'Usage
Dim site As SPSite
Dim returnValue As SPSite

returnValue = Hold.GetEdiscoveryHub(site)
public static SPSite GetEdiscoveryHub(
    SPSite site
)

Parameters

Return Value

Type: Microsoft.SharePoint.SPSite
The hub of the site subscription of which the specified site belongs.

Exceptions

Exception Condition
ArgumentNullException

Site is a null reference (Nothing in Visual Basic).

ArgumentException

Site subscription cannot be found.

See Also

Reference

Hold Class

Hold Members

Microsoft.Office.RecordsManagement.Holds Namespace