Compartir a través de


Utility.ISfcHasConnection.GetConnection Método (SfcObjectQueryMode)

Gets the ISfcConnection.

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
Private Function GetConnection ( _
    mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Uso
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
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.

Parámetros

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
An ISfcConnection object.

Implementa

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

Vea también

Referencia

Utility Clase

Sobrecarga de GetConnection

Espacio de nombres Microsoft.SqlServer.Management.Utility