다음을 통해 공유


ConnectionString 속성

Gets or sets the connection string that the alias uses to connect to the server.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
Public Property ConnectionString As String
    Get
    Set
‘사용 방법
Dim instance As ServerAlias
Dim value As String

value = instance.ConnectionString

instance.ConnectionString = value
public string ConnectionString { get; set; }
public:
property String^ ConnectionString {
    String^ get ();
    void set (String^ value);
}
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.