MultiServerSqlConnectionInfo Class
Contains SQL Server connection information that is used by Transact-SQL query editors.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Microsoft.SqlServer.Management.MultiServerConnection.MultiServerSqlConnectionInfo
Namespace: Microsoft.SqlServer.Management.MultiServerConnection
Assembly: Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)
Syntax
'Declaration
Public Class MultiServerSqlConnectionInfo _
Inherits UIConnectionInfo
'Usage
Dim instance As MultiServerSqlConnectionInfo
public class MultiServerSqlConnectionInfo : UIConnectionInfo
public ref class MultiServerSqlConnectionInfo : public UIConnectionInfo
type MultiServerSqlConnectionInfo =
class
inherit UIConnectionInfo
end
public class MultiServerSqlConnectionInfo extends UIConnectionInfo
The MultiServerSqlConnectionInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MultiServerSqlConnectionInfo() | Initializes a new instance of the MultiServerSqlConnectionInfo class. | |
MultiServerSqlConnectionInfo(UIConnectionInfo) | Initializes a new instance of the MultiServerSqlConnectionInfo class with the specified connection information. |
Top
Properties
Name | Description | |
---|---|---|
AdvancedOptions | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the advanced options set in a connection dialog. (Inherited from UIConnectionInfo.) | |
ApplicationName | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the name of the application in a connection dialog. (Inherited from UIConnectionInfo.) | |
AuthenticationType | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication. (Inherited from UIConnectionInfo.) | |
ConnectionProtocolString | Specifies the name of the network protocol to use for the connection. | |
ConnectionTimeout | Gets or sets the connection timeout interval to the server, in seconds. | |
DefaultDatabaseName | Gets or sets the name of the database to connect to by default. | |
DisplayName | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the display name of the connection. (Inherited from UIConnectionInfo.) | |
EncryptConnection | Gets or sets a value specifying whether the connection will be encrypted. | |
EncryptedPassword | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the encrypted password of the UIConnectionInfo. (Inherited from UIConnectionInfo.) | |
ExecutionTimeout | Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds. | |
Id | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the connection identifier. (Inherited from UIConnectionInfo.) | |
NetworkProtocol | Specifies the type of network protocol that will be used by the connection. | |
PacketSize | Gets or sets size, in bytes, of the TCP packets used by the connection. | |
Password | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication. (Inherited from UIConnectionInfo.) | |
PersistPassword | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted. (Inherited from UIConnectionInfo.) | |
ServerName | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection. (Inherited from UIConnectionInfo.) | |
ServerNameNoDot | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a String value that specifies the name of the instance of the Database Engine for the connection. If only a period (.) was specified in the dialog, ServerNameNoDot returns (local). (Inherited from UIConnectionInfo.) | |
ServerType | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a guid that identifies the type of server the connection uses. (Inherited from UIConnectionInfo.) | |
ServerVersion | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection. (Inherited from UIConnectionInfo.) | |
UserName | Gets or sets the name of the login to use when connecting. (Overrides UIConnectionInfo.UserName.) | |
UseWindowsAuthentication | Gets or sets a value indicating whether Windows Integrated Security Authentication will be used. | |
WorkstationId | Gets or sets the name of the client machine submitting the Transact-SQL batch. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object. (Inherited from UIConnectionInfo.) | |
Copy | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Creates a new UIConnectionInfo object based on the properties of the current object. (Inherited from UIConnectionInfo.) | |
CreateSqlConnection | Creates a connection to the server. | |
Equals | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Object is equal to the current Object. (Inherited from UIConnectionInfo.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns the hash code for the specified type. (Inherited from UIConnectionInfo.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SaveToStream | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Persists connection info to the specified XML stream. (Inherited from UIConnectionInfo.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.