共用方式為


ConnectionString 屬性

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets a String value that specifies the Database Engine connection string.

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

語法

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

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

屬性值

型別:System. . :: . .String
A string that represents the connection string.