Freigeben über


Volume.Key-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Utility.Volume.Key

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

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Usage
Dim instance As Volume.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

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

Konstruktoren

  Name Beschreibung
Öffentliche Methode Volume.Key() Initializes a new instance of the Volume.Key class that has the specified name.
Öffentliche Methode Volume.Key(String) Initializes a new instance of the Volume.Key class that has the specified name.
Öffentliche Methode Volume.Key(Volume.Key) Initializes a new instance of the Volume.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 Volume key.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals(Object) Determines whether the specified object key is equal to the referenced string value. (Überschreibt SfcKey.Equals(Object).)
Öffentliche Methode Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Überschreibt SfcKey.Equals(SfcKey).)
Öffentliche MethodeStatisches Element Equals(Object, Object) Determines whether the two specified objects are equal.
Öffentliche Methode GetHashCode Gets the hash code for the object. (Überschreibt SfcKey.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetUrnFragment Gets the URN path partial string that represents the volume. (Ü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, Volume.Key) Determines whether the specified object and the right-hand side of the key are equal.
Öffentlicher OperatorStatisches Element Equality(Volume.Key, Volume.Key) Determines whether the two key objects have the same value using specified operands.
Öffentlicher OperatorStatisches Element Equality(Volume.Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Öffentlicher OperatorStatisches Element Inequality(Object, Volume.Key) Determines whether the specified object and the right-hand side of the key are unequal.
Öffentlicher OperatorStatisches Element Inequality(Volume.Key, Volume.Key) Determines whether the two specified key objects have different values using specified operands.
Öffentlicher OperatorStatisches Element Inequality(Volume.Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

Zum Anfang

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.Utility-Namespace