IDbConnection.ConnectionString 属性

Gets or sets the string used to open a database.

命名空间:  Microsoft.ReportingServices.DataProcessing
程序集:   Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.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.

请参阅

参考

IDbConnection 接口

Microsoft.ReportingServices.DataProcessing 命名空间