Partager via


SqlConnectionInfo Constructor (ServerConnection, ConnectionType)

Initializes a new instance of the SqlConnectionInfo class.

Espace de noms: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    serverConnection As ServerConnection, _
    connectionType As ConnectionType _
)
public SqlConnectionInfo (
    ServerConnection serverConnection,
    ConnectionType connectionType
)
public:
SqlConnectionInfo (
    ServerConnection^ serverConnection, 
    ConnectionType connectionType
)
public SqlConnectionInfo (
    ServerConnection serverConnection, 
    ConnectionType connectionType
)
public function SqlConnectionInfo (
    serverConnection : ServerConnection, 
    connectionType : ConnectionType
)

Paramètres

  • connectionType
    A ConnectionType object value that specifies the type of connection.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

SqlConnectionInfo Class
SqlConnectionInfo Members
Microsoft.SqlServer.Management.Common Namespace