Método SqlConnectionInfo.CreateConnectionObject
Cria um objeto de conexão do sistema.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Overrides Function CreateConnectionObject As IDbConnection
'Uso
Dim instance As SqlConnectionInfo
Dim returnValue As IDbConnection
returnValue = instance.CreateConnectionObject()
public override IDbConnection CreateConnectionObject()
public:
virtual IDbConnection^ CreateConnectionObject() override
abstract CreateConnectionObject : unit -> IDbConnection
override CreateConnectionObject : unit -> IDbConnection
public override function CreateConnectionObject() : IDbConnection
Valor de retorno
Tipo: IDbConnection
Um valor do objeto do sistema IDbConnection que especifica o objeto de conexão.