Classe Volume.Key

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilisation
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

Le type Volume..::..Key expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Volume. . :: . .Key() () () () Initializes a new instance of the Volume..::..Key class that has the specified name.
Méthode publique Volume. . :: . .Key(String) Initializes a new instance of the Volume..::..Key class that has the specified name.
Méthode publique Volume. . :: . .Key(Volume. . :: . .Key) Initializes a new instance of the Volume..::..Key class based on the specified key.

Haut de la page

Propriétés

  Nom Description
Propriété publique Name Gets the name of the Volume key.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals(Object) Determines whether the specified object key is equal to the referenced string value. (remplace SfcKey. . :: . .Equals(Object).)
Méthode publique Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (remplace SfcKey. . :: . .Equals(SfcKey).)
Méthode publiqueMembre statique Equals(Object, Object) Determines whether the two specified objects are equal.
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Gets the hash code for the object. (remplace SfcKey. . :: . .GetHashCode() () () ().)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUrnFragment Gets the URN path partial string that represents the volume. (remplace SfcKey. . :: . .GetUrnFragment() () () ().)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are equal.
Opérateur publicMembre statique Equality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two key objects have the same value using specified operands.
Opérateur publicMembre statique Equality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Opérateur publicMembre statique Inequality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are unequal.
Opérateur publicMembre statique Inequality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two specified key objects have different values using specified operands.
Opérateur publicMembre statique Inequality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.