다음을 통해 공유


ConnectionString 속성

Gets or sets the string used to open a database.

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:  Microsoft.ReportingServices.Interfaces.dll의 Microsoft.ReportingServices.Interfaces

구문

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

value = instance.ConnectionString

instance.ConnectionString = value
string ConnectionString { get; set; }
property String^ ConnectionString {
    String^ get ();
    void set (String^ value);
}
abstract ConnectionString : string with get, set
function get ConnectionString () : String
function set ConnectionString (value : String)

속성 값

형식: System. . :: . .String

주의

The ConnectionString property can be set only while the connection is closed.

Property Values

A string containing connection settings.