다음을 통해 공유


ConnectString 속성

Gets or sets the connection string for a data source.

네임스페이스:  ReportService2005
어셈블리:  ReportService2005.dll의 ReportService2005

구문

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

value = instance.ConnectString

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

속성 값

형식: System. . :: . .String
A String containing the connection string for a data source.

주의

The connection string used is specific to the data extension specified in the Extension property.

This value is ignored if the UseOriginalConnectString property is set to true.

If no value is specified, the connection string will revert to the original string or expression defined in the report.