Partager via


Classe MultiServerSqlConnectionInfo

Contains SQL Server connection information that is used by Transact-SQL query editors.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
    Microsoft.SqlServer.Management.MultiServerConnection..::..MultiServerSqlConnectionInfo

Espace de noms :  Microsoft.SqlServer.Management.MultiServerConnection
Assembly :  Microsoft.SqlServer.Management.MultiServerConnection (en Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntaxe

'Déclaration
Public Class MultiServerSqlConnectionInfo _
    Inherits UIConnectionInfo
'Utilisation
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

Le type MultiServerSqlConnectionInfo expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique MultiServerSqlConnectionInfo() () () () Initializes a new instance of the MultiServerSqlConnectionInfo class.
Méthode publique MultiServerSqlConnectionInfo(UIConnectionInfo) Initializes a new instance of the MultiServerSqlConnectionInfo class with the specified connection information.

Haut de la page

Propriétés

  Nom Description
Propriété publique AdvancedOptions Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the advanced options set in a connection dialog. (hérité de UIConnectionInfo.)
Propriété publique ApplicationName Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the name of the application in a connection dialog. (hérité de UIConnectionInfo.)
Propriété publique AuthenticationType Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication. (hérité de UIConnectionInfo.)
Propriété publique ConnectionProtocolString Specifies the name of the network protocol to use for the connection.
Propriété publique ConnectionTimeout Gets or sets the connection timeout interval to the server, in seconds.
Propriété publique DefaultDatabaseName Gets or sets the name of the database to connect to by default.
Propriété publique DisplayName Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the display name of the connection. (hérité de UIConnectionInfo.)
Propriété publique EncryptConnection Gets or sets a value specifying whether the connection will be encrypted.
Propriété publique EncryptedPassword Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets the encrypted password of the UIConnectionInfo. (hérité de UIConnectionInfo.)
Propriété publique ExecutionTimeout Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds.
Propriété publique Id Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets the connection identifier. (hérité de UIConnectionInfo.)
Propriété publique NetworkProtocol Specifies the type of network protocol that will be used by the connection.
Propriété publique PacketSize Gets or sets size, in bytes, of the TCP packets used by the connection.
Propriété publique Password Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication. (hérité de UIConnectionInfo.)
Propriété publique PersistPassword Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted. (hérité de UIConnectionInfo.)
Propriété publique ServerName Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection. (hérité de UIConnectionInfo.)
Propriété publique ServerNameNoDot Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. 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). (hérité de UIConnectionInfo.)
Propriété publique ServerType Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a guid that identifies the type of server the connection uses. (hérité de UIConnectionInfo.)
Propriété publique ServerVersion Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection. (hérité de UIConnectionInfo.)
Propriété publique UserName Gets or sets the name of the login to use when connecting. (remplace UIConnectionInfo. . :: . .UserName.)
Propriété publique UseWindowsAuthentication Gets or sets a value indicating whether Windows Integrated Security Authentication will be used.
Propriété publique WorkstationId Gets or sets the name of the client machine submitting the Transact-SQL batch.

Haut de la page

Méthodes

  Nom Description
Méthode publique CompareTo Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object. (hérité de UIConnectionInfo.)
Méthode publique Copy Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Creates a new UIConnectionInfo object based on the properties of the current object. (hérité de UIConnectionInfo.)
Méthode publique CreateSqlConnection Creates a connection to the server.
Méthode publique Equals Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Determines whether the specified Object is equal to the current Object. (hérité de UIConnectionInfo.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns the hash code for the specified type. (hérité de UIConnectionInfo.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique SaveToStream Infrastructure. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Persists connection info to the specified XML stream. (hérité de UIConnectionInfo.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.