Свойство RegisteredServer.ConnectionString

Gets or sets the connection string that is used to connect to the instance of SQL Server.

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

Синтаксис

'Декларация
<SfcIgnoreAttribute> _
Public Property ConnectionString As String 
    Get 
    Set
'Применение
Dim instance As RegisteredServer 
Dim value As String 

value = instance.ConnectionString

instance.ConnectionString = value
[SfcIgnoreAttribute]
public string ConnectionString { get; set; }
[SfcIgnoreAttribute]
public:
property String^ ConnectionString {
    String^ get ();
    void set (String^ value);
}
[<SfcIgnoreAttribute>]
member ConnectionString : string with get, set
function get ConnectionString () : String 
function set ConnectionString (value : String)

Значение свойства

Тип: System.String
A String value that specifies the connection string.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

RegisteredServer Класс

Пространство имен Microsoft.SqlServer.Management.RegisteredServers