共用方式為


ConnectionString 屬性

Gets the connection string.

命名空間:  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

屬性值

型別:System. . :: . .String
A String value that specifies the connection string.