Freigeben über


PolicyStore.ISfcHasConnection.GetConnection-Methode

Indicates the connection to get.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As PolicyStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

Typ: Microsoft.SqlServer.Management.Common.ISfcConnection
The ISfcConnection connection to get.

Implementiert

ISfcHasConnection.GetConnection()

Siehe auch

Verweis

PolicyStore Klasse

GetConnection-Überladung

Microsoft.SqlServer.Management.Dmf-Namespace