Freigeben über


SPOfficialFileHost.GetHostById-Methode

Ruft die offizielle Akte Host-Verbindung-ID ab. Offizielle Akte Host-Verbindungen können für eine gesamte Anwendung oder für eine bestimmte Mieter vorhanden sein.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function GetHostById ( _
    site As SPSite, _
    id As Guid _
) As SPOfficialFileHost
'Usage
Dim site As SPSite
Dim id As Guid
Dim returnValue As SPOfficialFileHost

returnValue = SPOfficialFileHost.GetHostById(site, _
    id)
public static SPOfficialFileHost GetHostById(
    SPSite site,
    Guid id
)

Parameter

Rückgabewert

Typ: Microsoft.SharePoint.SPOfficialFileHost
die offizielle Akte Host-Verbindung, sofern vorhanden, andernfalls null

Siehe auch

Referenz

SPOfficialFileHost Klasse

SPOfficialFileHost-Member

Microsoft.SharePoint-Namespace