共用方式為


NameKey 類別

Identifies Microsoft.SqlServer.Utility objects that use a name property as an Sfc 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.

上層

屬性

  名稱 說明
公用屬性 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。