Condividi tramite


Proprietà IDbConnection.ConnectionString

Gets or sets the string used to open a database.

Spazio dei nomi  Microsoft.ReportingServices.DataProcessing
Assembly:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintassi

'Dichiarazione
Property ConnectionString As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.String

Osservazioni

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

Property Values

A string containing connection settings.

Vedere anche

Riferimento

IDbConnection Interfaccia

Spazio dei nomi Microsoft.ReportingServices.DataProcessing