Freigeben über


UIConnectionInfo-Klasse

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. The UIConnectionInfo class represents the information set in a SQL Server Management Studio connection dialog, and the associated connection to an instance of the SQL Server Database Engine.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Class UIConnectionInfo _
    Implements IComparable(Of UIConnectionInfo)
'Usage
Dim instance As UIConnectionInfo
public class UIConnectionInfo : IComparable<UIConnectionInfo>
public ref class UIConnectionInfo : IComparable<UIConnectionInfo^>
type UIConnectionInfo =  
    class 
        interface IComparable<UIConnectionInfo>
    end
public class UIConnectionInfo implements IComparable<UIConnectionInfo>

Der UIConnectionInfo-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode UIConnectionInfo() Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
Öffentliche Methode UIConnectionInfo(UIConnectionInfo) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Initializes a new instance of the UIConnectionInfo class with the same properties as an existing UIConnectionInfo object and makes another connection to the associated server.
Öffentliche Methode UIConnectionInfo(UIConnectionInfo, Boolean) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AdvancedOptions Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets the advanced options set in a connection dialog.
Öffentliche Eigenschaft ApplicationName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets the name of the application in a connection dialog.
Öffentliche Eigenschaft AuthenticationType Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Öffentliche Eigenschaft DisplayName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a String value that specifies the display name of the connection.
Öffentliche Eigenschaft EncryptedPassword Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets the encrypted password of the UIConnectionInfo.
Öffentliche Eigenschaft Id Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets the connection identifier.
Öffentliche Eigenschaft OtherParams Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets the other parameters for the connection.
Öffentliche Eigenschaft Password Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
Öffentliche Eigenschaft PersistPassword Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
Öffentliche Eigenschaft ServerName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
Öffentliche Eigenschaft ServerNameNoDot Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. 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).
Öffentliche Eigenschaft ServerType Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a guid that identifies the type of server the connection uses.
Öffentliche Eigenschaft ServerVersion Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
Öffentliche Eigenschaft UserName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets or sets a String value that specifies the login name for the connection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CompareTo Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
Öffentliche Methode Copy Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Creates a new UIConnectionInfo object based on the properties of the current object.
Öffentliche Methode Equals Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified Object is equal to the current Object. (Überschreibt Object.Equals(Object).)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Returns the hash code for the specified type. (Überschreibt Object.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche MethodeStatisches Element LoadFromStream Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Loads a connection from the specified stream.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode SaveToStream Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Persists connection info to the specified XML stream.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, UIConnectionInfo) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Öffentlicher OperatorStatisches Element Equality(UIConnectionInfo, UIConnectionInfo) Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether two specified UIConnectionInfo objects are the same.
Öffentlicher OperatorStatisches Element Equality(UIConnectionInfo, Object) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
Öffentlicher OperatorStatisches Element Inequality(Object, UIConnectionInfo) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified Object is different than the specified UIConnectionInfo object.
Öffentlicher OperatorStatisches Element Inequality(UIConnectionInfo, UIConnectionInfo) Infrastruktur Determines whether two UIConnectionInfo objects are different.
Öffentlicher OperatorStatisches Element Inequality(UIConnectionInfo, Object) Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified UIConnectionInfo object is different than the specified Object.

Zum Anfang

Felder

  Name Beschreibung
Öffentliches FeldStatisches Element XmlAdvancedOptions Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlAuthenticationType Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlDisplayName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlItemTypeAttribute Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlPassword Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlServerName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlServerType Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlStart Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Öffentliches FeldStatisches Element XmlUserName Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo.RegSvrEnum-Namespace