Freigeben über


ConnectionString-Eigenschaft

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets a String value that specifies the Database Engine connection string.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Overrides ReadOnly Property ConnectionString As String
    Get
'Usage
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

Eigenschaftswert

Typ: System. . :: . .String
A string that represents the connection string.