Método Utility.ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Gets the ISfcConnection.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (em Microsoft.SqlServer.Management.Utility.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- mode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
An SfcObjectQueryMode object.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
An ISfcConnection object.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)