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
Microsoft.SqlServer.Management.MultiServerConnection. . :: . .MultiServerSqlConnectionInfo
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 | |
|---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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 | |
|---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
Id | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Gets the connection identifier. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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). |
![]() |
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. |
![]() |
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. |
![]() |
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 | |
|---|---|---|
![]() |
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. |
![]() |
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. |
![]() |
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).) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
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() () () ().) |
![]() |
GetType | (Geerbt von Object.) |
![]() ![]() |
LoadFromStream | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Loads a connection from the specified stream. |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
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. |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Operatoren
| Name | Beschreibung | |
|---|---|---|
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
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. |
![]() ![]() |
Inequality(UIConnectionInfo, UIConnectionInfo) | Infrastruktur Determines whether two UIConnectionInfo objects are different. |
![]() ![]() |
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 | |
|---|---|---|
![]() ![]() |
XmlAdvancedOptions | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlAuthenticationType | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlDisplayName | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlItemTypeAttribute | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlPassword | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlServerName | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlServerType | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
XmlStart | Infrastruktur Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() ![]() |
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.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)