共用方式為


ConnectionString 屬性

Gets or sets a string specifying connection information.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property ConnectionString As String
    Get
    Set
'用途
Dim instance As DataSource
Dim value As String

value = instance.ConnectionString

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

屬性值

型別:System. . :: . .String
The connection string.