Share via


Volume.Key Class

Definition

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

public: ref class Volume::Key sealed : Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey
public sealed class Volume.Key : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type Volume.Key = class
    inherit SfcKey
Public NotInheritable Class Volume.Key
Inherits SfcKey
Inheritance
Volume.Key

Constructors

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.

Properties

InstanceType

Gets the type of the instance class associated with this key class.

(Inherited from SfcKey)
Name

Gets the name of the Volume key.

Methods

Equals(Object, Object)

Determines whether the two specified objects are equal.

Equals(Object)

Determines whether the specified object key is equal to the referenced string value.

Equals(SfcKey)

Determines whether the specified object key is equal to the referenced object key.

GetHashCode()

Gets the hash code for the object.

GetUrnFragment()

Gets the URN path partial string that represents the volume.

ToString()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers.

(Inherited from SfcKey)

Operators

Equality(Object, Volume+Key)

Determines whether the specified object and the right-hand side of the key are equal.

Equality(Volume+Key, Object)

Determines whether the specified object and the left-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.

Inequality(Object, Volume+Key)

Determines whether the specified object and the right-hand side of the key are unequal.

Inequality(Volume+Key, Object)

Determines whether the specified object and the left-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.

Applies to