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
site
Typ: Microsoft.SharePoint.SPSiteder Website
id
Typ: System.Guiddie id
Rückgabewert
Typ: Microsoft.SharePoint.SPOfficialFileHost
die offizielle Akte Host-Verbindung, sofern vorhanden, andernfalls null