Поделиться через


Свойство ConnectionString

Gets or sets the string used to open a database.

Пространство имен:  Microsoft.ReportingServices.DataProcessing
Сборка:  Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)

Синтаксис

'Декларация
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.