Construtor SqlConnectionInfo (ServerConnection, ConnectionType)
Inicializa uma nova instância da classe SqlConnectionInfo.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public Sub New ( _
serverConnection As ServerConnection, _
connectionType As ConnectionType _
)
'Uso
Dim serverConnection As ServerConnection
Dim connectionType As ConnectionType
Dim instance As New SqlConnectionInfo(serverConnection, _
connectionType)
public SqlConnectionInfo(
ServerConnection serverConnection,
ConnectionType connectionType
)
public:
SqlConnectionInfo(
ServerConnection^ serverConnection,
ConnectionType connectionType
)
new :
serverConnection:ServerConnection *
connectionType:ConnectionType -> SqlConnectionInfo
public function SqlConnectionInfo(
serverConnection : ServerConnection,
connectionType : ConnectionType
)
Parâmetros
- serverConnection
Tipo: Microsoft.SqlServer.Management.Common.ServerConnection
Um valor do objeto ServerConnection que especifica uma conexão existente na qual basear o novo objeto SqlConnectionInfo.
- connectionType
Tipo: Microsoft.SqlServer.Management.Common.ConnectionType
Um valor do objeto ConnectionType que especifica o tipo de conexão.