Freigeben über


SPServiceHostOperations.Configure-Methode

Einen Windows Communication Foundation (WCF) Service Host für die Verwendung konfiguriert mit SharePoint.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub Configure ( _
    serviceHost As ServiceHostBase, _
    authenticationMode As SPServiceAuthenticationMode _
)
'Usage
Dim serviceHost As ServiceHostBase
Dim authenticationMode As SPServiceAuthenticationMode

serviceHost.Configure(authenticationMode)
public static void Configure(
    this ServiceHostBase serviceHost,
    SPServiceAuthenticationMode authenticationMode
)

Parameter

Verwendungshinweis

In Visual Basic und C# können Sie diese Methode als Instanzenmethode für jedes Objekt vom Typ ServiceHostBase aufrufen. Wenn Sie zum Aufrufen dieser Methode Instanzenmethodensyntax verwenden, lassen Sie den ersten Parameter weg. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=office.15) oder https://msdn.microsoft.com/de-de/library/bb383977(v=office.15).

Siehe auch

Referenz

SPServiceHostOperations Klasse

SPServiceHostOperations-Member

Microsoft.SharePoint-Namespace