共用方式為


SqlOlapConnectionInfoBase.ConnectionString 屬性

取得連接字串。

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public MustOverride ReadOnly Property ConnectionString As String 
    Get
'用途
Dim instance As SqlOlapConnectionInfoBase 
Dim value As String 

value = instance.ConnectionString
[BrowsableAttribute(false)]
public abstract string ConnectionString { get; }
[BrowsableAttribute(false)]
public:
virtual property String^ ConnectionString {
    String^ get () abstract;
}
[<BrowsableAttribute(false)>]
abstract ConnectionString : string
abstract function get ConnectionString () : String

屬性值

型別:String
指定連接字串的 String 值。

請參閱

參考

SqlOlapConnectionInfoBase 類別

Microsoft.SqlServer.Management.Common 命名空間