Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the connection string that is used to connect to the instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
<SfcIgnoreAttribute> _
Public Property ConnectionString As String
Get
Set
'Usage
Dim instance As RegisteredServer
Dim value As String
value = instance.ConnectionString
instance.ConnectionString = value
[SfcIgnoreAttribute]
public string ConnectionString { get; set; }
[SfcIgnoreAttribute]
public:
property String^ ConnectionString {
String^ get ();
void set (String^ value);
}
[<SfcIgnoreAttribute>]
member ConnectionString : string with get, set
function get ConnectionString () : String
function set ConnectionString (value : String)
Property Value
Type: System.String
A String value that specifies the connection string.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.