Freigeben über


ObjectSet.Key-Klasse

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

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public NotInheritable Class Key _
    Inherits SfcKey
'Usage
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

Der ObjectSet.Key-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ObjectSet.Key() Initializes a new instance of the Dmf.
Öffentliche Methode ObjectSet.Key(String) Initializes a new instance of the ObjectSet.Key class that has the specified name.
Öffentliche Methode ObjectSet.Key(ObjectSet.Key) Initializes a new instance of the ObjectSet.Key class based on the specified key.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft InstanceType Gets the type of the instance class associated with this key class. (Geerbt von SfcKey.)
Öffentliche Eigenschaft Name Gets the name of the ObjectSet key.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether the specified object key is equal to the referenced object key. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Determines whether the two specified objects are equal. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Öffentliche Methode GetHashCode Gets the hash code for the object. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets the unique resource name (URN) path partial string that represents the object set. (Überschreibt SfcKey.GetUrnFragment().)
Öffentliche Methode ToString Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Geerbt von SfcKey.)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Equality(Object, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
Öffentlicher OperatorStatisches Element Equality(ObjectSet.Key, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
Öffentlicher OperatorStatisches Element Equality(ObjectSet.Key, Object) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
Öffentlicher OperatorStatisches Element Inequality(Object, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object set keys reference the same object set.
Öffentlicher OperatorStatisches Element Inequality(ObjectSet.Key, ObjectSet.Key) Performs a Boolean equality operation to determine whether two object sets reference the same object set.
Öffentlicher OperatorStatisches Element Inequality(ObjectSet.Key, Object) Performs a Boolean equality operation to determine whether two object set keys reference the same object set.

Zum Anfang

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Dmf-Namespace