Udostępnij przez


Metoda PolicyStore.ISfcHasConnection.GetConnection

Wskazuje, aby uzyskać połączenie.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
Private Function GetConnection As ISfcConnection
    Implements ISfcHasConnection.GetConnection
'Użycie
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 
Język JScript obsługuje używanie jawnych implementacji interfejsów, ale nie obsługuje deklarowania nowych.

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Common.ISfcConnection
ISfcConnection Połączenie get.

Implementacje

ISfcHasConnection.GetConnection()