RegisteredServer.Key 類別
Represents the property that is associated with the object that is used to uniquely identify the object.
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.RegisteredServers..::..RegisteredServer..::..Key
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Public NotInheritable Class Key _
Inherits SfcKey
'用途
Dim instance As RegisteredServer.Key
public sealed class Key : SfcKey
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
type Key =
class
inherit SfcKey
end
public final class Key extends SfcKey
RegisteredServer..::..Key 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
RegisteredServer. . :: . .Key() () () () | Initializes a new instance of the RegisteredServer..::..Key class. | |
RegisteredServer. . :: . .Key(String) | Initializes a new instance of the RegisteredServer..::..Key class that has the specified name. | |
RegisteredServer. . :: . .Key(RegisteredServer. . :: . .Key) | Initializes a new instance of the RegisteredServer..::..Key class based on the referenced key object. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals(Object) | Determines whether the object passed as a parameter is a key. (覆寫 SfcKey. . :: . .Equals(Object)。) | |
Equals(SfcKey) | Determines whether the specified object key is equal to the referenced object key. (覆寫 SfcKey. . :: . .Equals(SfcKey)。) | |
Equals(Object, Object) | Determines whether the two object keys are equal. | |
Finalize | (繼承自 Object。) | |
GetHashCode | Returns the hash code of the specified key. (覆寫 SfcKey. . :: . .GetHashCode() () () ()。) | |
GetType | (繼承自 Object。) | |
GetUrnFragment | Gets the unique resource name path of the specified key. (覆寫 SfcKey. . :: . .GetUrnFragment() () () ()。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Returns a String value that is a sortable representation of the object that can be used in external comparers. (繼承自 SfcKey。) |
上層
運算子
名稱 | 說明 | |
---|---|---|
Equality(Object, RegisteredServer. . :: . .Key) | Determines whether two objects are equal by performing an equality operation on them with the object and right operator specified. | |
Equality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) | Determines whether two objects are equal by performing an equality operation on them using the specified left operator and right operator. | |
Equality(RegisteredServer. . :: . .Key, Object) | Determines whether two objects are equal by performing an equality operation on them with the object and left operator specified. | |
Inequality(Object, RegisteredServer. . :: . .Key) | Determines whether two objects are equal by performing an inequality operation on them using the specified object and right operator. | |
Inequality(RegisteredServer. . :: . .Key, RegisteredServer. . :: . .Key) | Determines whether two objects are equal by performing an inequality operation on them using the left operator and right operator. | |
Inequality(RegisteredServer. . :: . .Key, Object) | Determines whether two objects are equal by performing an inequality operation on them using the specified object and left operator. |
上層
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。