Udostępnij przez


Metoda Utility.ISfcHasConnection.GetConnection (SfcObjectQueryMode)

Pobiera ISfcConnection.

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

Składnia

'Deklaracja
Private Function GetConnection ( _
    mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Użycie
Dim instance As Utility
Dim mode As SfcObjectQueryMode
Dim returnValue As ISfcConnection

returnValue = CType(instance, ISfcHasConnection).GetConnection(mode)
ISfcConnection ISfcHasConnection.GetConnection(
    SfcObjectQueryMode mode
)
private:
virtual ISfcConnection^ GetConnection(
    SfcObjectQueryMode mode
) sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : 
        mode:SfcObjectQueryMode -> ISfcConnection 
private override GetConnection : 
        mode:SfcObjectQueryMode -> ISfcConnection 
Język JScript obsługuje używanie jawnych implementacji interfejsów, ale nie obsługuje deklarowania nowych.

Implementacje

ISfcHasConnection.GetConnection(SfcObjectQueryMode)