Конструктор SqlConnectionInfo (String)
Initializes a new instance of the SqlConnectionInfo class.
Пространство имен: Microsoft.SqlServer.Management.Common
Сборка: Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)
Синтаксис
'Декларация
Public Sub New ( _
serverName As String _
)
'Применение
Dim serverName As String
Dim instance As New SqlConnectionInfo(serverName)
public SqlConnectionInfo(
string serverName
)
public:
SqlConnectionInfo(
String^ serverName
)
new :
serverName:string -> SqlConnectionInfo
public function SqlConnectionInfo(
serverName : String
)
Параметры
- serverName
Тип System. . :: . .String
A String object value that specifies the instance of SQL Server.