Condividi tramite


Classe Volume.Key

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
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

Nel tipo Volume..::..Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Volume. . :: . .Key() () () () Initializes a new instance of the Volume..::..Key class that has the specified name.
Metodo pubblico Volume. . :: . .Key(String) Initializes a new instance of the Volume..::..Key class that has the specified name.
Metodo pubblico Volume. . :: . .Key(Volume. . :: . .Key) Initializes a new instance of the Volume..::..Key class based on the specified key.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets the name of the Volume key.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether the specified object key is equal to the referenced string value. Esegue l'override di SfcKey. . :: . .Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. Esegue l'override di SfcKey. . :: . .Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether the two specified objects are equal.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Gets the hash code for the object. Esegue l'override di SfcKey. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets the URN path partial string that represents the volume. Esegue l'override di SfcKey. . :: . .GetUrnFragment() () () ().
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are equal.
Operatore pubblicoMembro statico Equality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two key objects have the same value using specified operands.
Operatore pubblicoMembro statico Equality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Operatore pubblicoMembro statico Inequality(Object, Volume. . :: . .Key) Determines whether the specified object and the right-hand side of the key are unequal.
Operatore pubblicoMembro statico Inequality(Volume. . :: . .Key, Volume. . :: . .Key) Determines whether the two specified key objects have different values using specified operands.
Operatore pubblicoMembro statico Inequality(Volume. . :: . .Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.