Поделиться через


Конструктор SqlConnectionInfo (ServerConnection, ConnectionType)

Initializes a new instance of the SqlConnectionInfo class.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    serverConnection As ServerConnection, _
    connectionType As ConnectionType _
)
'Применение
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
)

Параметры