Поделиться через


Класс Volume.Key

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Utility
Сборка:  Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)

Синтаксис

'Декларация
Public NotInheritable Class Key _
    Inherits SfcKey
'Применение
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

Тип Volume.Key обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Volume.Key() Initializes a new instance of the Volume.Key class that has the specified name.
Открытый метод Volume.Key(String) Initializes a new instance of the Volume.Key class that has the specified name.
Открытый метод Volume.Key(Volume.Key) Initializes a new instance of the Volume.Key class based on the specified key.

В начало

Свойства

  Имя Описание
Открытое свойство InstanceType Gets the type of the instance class associated with this key class. (Производный от SfcKey.)
Открытое свойство Name Gets the name of the Volume key.

В начало

Методы

  Имя Описание
Открытый метод Equals(Object) Determines whether the specified object key is equal to the referenced string value. (Переопределяет SfcKey.Equals(Object).)
Открытый метод Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Переопределяет SfcKey.Equals(SfcKey).)
Открытый методСтатический элемент Equals(Object, Object) Determines whether the two specified objects are equal.
Открытый метод GetHashCode Gets the hash code for the object. (Переопределяет SfcKey.GetHashCode().)
Открытый метод GetType (Производный от Object.)
Открытый метод GetUrnFragment Gets the URN path partial string that represents the volume. (Переопределяет SfcKey.GetUrnFragment().)
Открытый метод ToString Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Производный от SfcKey.)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Equality(Object, Volume.Key) Determines whether the specified object and the right-hand side of the key are equal.
Открытый операторСтатический элемент Equality(Volume.Key, Volume.Key) Determines whether the two key objects have the same value using specified operands.
Открытый операторСтатический элемент Equality(Volume.Key, Object) Determines whether the specified object and the left-hand side of the key are equal.
Открытый операторСтатический элемент Inequality(Object, Volume.Key) Determines whether the specified object and the right-hand side of the key are unequal.
Открытый операторСтатический элемент Inequality(Volume.Key, Volume.Key) Determines whether the two specified key objects have different values using specified operands.
Открытый операторСтатический элемент Inequality(Volume.Key, Object) Determines whether the specified object and the left-hand side of the key are unequal.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Utility