共用方式為


ObjectSet.Key 類別

The ObjectSet.Key class represents the key that identifies the ObjectSet class.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Dmf.ObjectSet.Key

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
    Inherits SfcKey
'用途
Dim instance As ObjectSet.Key
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public sealed class Key : SfcKey
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class Key sealed : public SfcKey
[<SealedAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type Key =  
    class 
        inherit SfcKey 
    end
public final class Key extends SfcKey

ObjectSet.Key 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ObjectSet.Key() Initializes a new instance of the Dmf.
公用方法 ObjectSet.Key(String) Initializes a new instance of the ObjectSet.Key class that has the specified name.
公用方法 ObjectSet.Key(ObjectSet.Key) Initializes a new instance of the ObjectSet.Key class based on the specified key.

上層

屬性

  名稱 說明
公用屬性 InstanceType Gets the type of the instance class associated with this key class. (繼承自 SfcKey。)
公用屬性 Name Gets the name of the ObjectSet key.

上層

方法

  名稱 說明
公用方法 Equals(Object) Determines whether the specified object key is equal to the referenced object key. (覆寫 SfcKey.Equals(Object)。)
公用方法 Equals(SfcKey) Determines whether the two specified objects are equal. (覆寫 SfcKey.Equals(SfcKey)。)
公用方法靜態成員 Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
公用方法 GetHashCode Gets the hash code for the object. (覆寫 SfcKey.GetHashCode()。)
公用方法 GetType (繼承自 Object。)
公用方法 GetUrnFragment Gets the unique resource name (URN) path partial string that represents the object set. (覆寫 SfcKey.GetUrnFragment()。)
公用方法 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, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
公用運算子靜態成員 Equality(ObjectSet.Key, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
公用運算子靜態成員 Equality(ObjectSet.Key, Object) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
公用運算子靜態成員 Inequality(Object, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object set keys reference the same object set.
公用運算子靜態成員 Inequality(ObjectSet.Key, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
公用運算子靜態成員 Inequality(ObjectSet.Key, Object) Performs a Boolean equality operation to determine whether two object set keys reference the same object set.

上層

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。並非所有的執行個體成員都是安全執行緒。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Dmf 命名空間