Método IntegrationServices.ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Retrieves the current connection to query on. Returns a connection supporting either a single serial query or multiple simultaneously open queries as requested.
Namespace: Microsoft.SqlServer.Management.IntegrationServices
Assembly: Microsoft.SqlServer.Management.IntegrationServices (em Microsoft.SqlServer.Management.IntegrationServices.dll)
Sintaxe
'Declaração
Private Function GetConnection ( _
mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Uso
Dim instance As IntegrationServices
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
The mode of the connection.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
The connection to use, or nulluma referência nula (Nothing no Visual Basic) to use cache mode. Cache mode avoids connection and open data reader issues.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.IntegrationServices