SqlConnectionInfo.ConnectionString 속성

Gets the connection string used when the connection is established with the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
<BrowsableAttribute(False)> _
Public Overrides ReadOnly Property ConnectionString As String 
    Get
‘사용 방법
Dim instance As SqlConnectionInfo 
Dim value As String 

value = instance.ConnectionString
[BrowsableAttribute(false)]
public override string ConnectionString { get; }
[BrowsableAttribute(false)]
public:
virtual property String^ ConnectionString {
    String^ get () override;
}
[<BrowsableAttribute(false)>]
abstract ConnectionString : string
[<BrowsableAttribute(false)>]
override ConnectionString : string
override function get ConnectionString () : String

속성 값

유형: System.String
A String value that specifies the connection string used to establish the connection to the instance of SQL Server.

참고 항목

참조

SqlConnectionInfo 클래스

Microsoft.SqlServer.Management.Common 네임스페이스