Classe SqlConnectionInfo
The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class SqlConnectionInfo _
Inherits SqlOlapConnectionInfoBase
'Uso
Dim instance As SqlConnectionInfo
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class SqlConnectionInfo : SqlOlapConnectionInfoBase
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class SqlConnectionInfo : public SqlOlapConnectionInfoBase
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type SqlConnectionInfo =
class
inherit SqlOlapConnectionInfoBase
end
public class SqlConnectionInfo extends SqlOlapConnectionInfoBase
Comentários
The SqlConnectionInfo object can be passed as a parameter when constructing the ServerConnection object to provide connection information.
Hierarquia de herança
System. . :: . .Object
Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
Microsoft.SqlServer.Management.Common. . :: . .SqlOlapConnectionInfoBase
Microsoft.SqlServer.Management.Common..::..SqlConnectionInfo
Segurança de thread
Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.
Consulte também