다음을 통해 공유


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 버전에서만 지원됩니다.