Compartilhar via


Classe Volume.Key

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
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

O tipo Volume..::..Key expõe os membros a seguir.

Construtores

  Nome Descrição
Método público Volume. . :: . .Key() () () () Initializes a new instance of the Volume..::..Key class that has the specified name.
Método público Volume. . :: . .Key(String) Initializes a new instance of the Volume..::..Key class that has the specified name.
Método público Volume. . :: . .Key(Volume. . :: . .Key) Initializes a new instance of the Volume..::..Key class based on the specified key.

Início

Propriedades

  Nome Descrição
Propriedade pública Name Gets the name of the Volume key.

Início

Métodos

  Nome Descrição
Método público Equals(Object) Determines whether the specified object key is equal to the referenced string value. (Substitui SfcKey. . :: . .Equals(Object).)
Método público Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Substitui SfcKey. . :: . .Equals(SfcKey).)
Método públicoMembro estático Equals(Object, Object) Determines whether the two specified objects are equal.
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode Gets the hash code for the object. (Substitui SfcKey. . :: . .GetHashCode() () () ().)
Método público GetType (Herdado de Object.)
Método público GetUrnFragment Gets the URN path partial string that represents the volume. (Substitui SfcKey. . :: . .GetUrnFragment() () () ().)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Herdado de SfcKey.)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are equal.
Operador públicoMembro estático Equality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two key objects have the same value using specified operands.
Operador públicoMembro estático Equality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Operador públicoMembro estático Inequality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are unequal.
Operador públicoMembro estático Inequality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two specified key objects have different values using specified operands.
Operador públicoMembro estático Inequality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.