Partager via


Classe SqlConnectionInfo

The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (dans Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class SqlConnectionInfo _
    Inherits SqlOlapConnectionInfoBase
'Utilisation
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

Notes

The SqlConnectionInfo object can be passed as a parameter when constructing the ServerConnection object to provide connection information.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Common. . :: . .ConnectionInfoBase
    Microsoft.SqlServer.Management.Common. . :: . .SqlOlapConnectionInfoBase
      Microsoft.SqlServer.Management.Common..::..SqlConnectionInfo

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.