NameKey 類別
Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc key.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.NameKey
Microsoft.SqlServer.Management.Utility.ManagedInstance.Key
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Public MustInherit Class NameKey _
Inherits SfcKey
'用途
Dim instance As NameKey
public abstract class NameKey : SfcKey
public ref class NameKey abstract : public SfcKey
[<AbstractClassAttribute>]
type NameKey =
class
inherit SfcKey
end
public abstract class NameKey extends SfcKey
NameKey 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
NameKey | Initializes a new instance of the NameKey class with the specified key name. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (繼承自 SfcKey。) |
![]() |
Name | Gets the name of the object represented by the NameKey. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals(Object) | Determines whether the object represented by the NameKey is equal to the specified Object. (覆寫 SfcKey.Equals(Object)。) |
![]() |
Equals(SfcKey) | Determines whether the object represented by the current NameKey is equal to the object represented by the specified key. (覆寫 SfcKey.Equals(SfcKey)。) |
![]() ![]() |
Equals(Object, Object) | Determines whether the two specified objects are equal. |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetHashCode | Returns the hash code for this NameKey. (覆寫 SfcKey.GetHashCode()。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
GetUrnFragment | 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Gets the unique resource name (URN) path partial string that represents the object identified by the current [T:Microsoft.SqlServer.Management. Sdk.Sfc.SfcKey].. (繼承自 SfcKey。) |
![]() |
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, NameKey) | Determines whether the the specified Object is the same as the object represented by the specified NameKey . |
![]() ![]() |
Equality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are the same. |
![]() ![]() |
Equality(NameKey, Object) | Determines whether the object represented by the specified NameKey is the same as the specified Object. |
![]() ![]() |
Inequality(Object, NameKey) | Determines whether the the specified Object is different than the object represented by the specified NameKey . |
![]() ![]() |
Inequality(NameKey, NameKey) | Determines whether the objects represented by the two specified NameKey values are different. |
![]() ![]() |
Inequality(NameKey, Object) | Determines whether the object represented by the specified NameKey is different than the specified Object. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。