Volume.Key Class
The Volume.Key class represents the key that identifies the Volume class.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Utility.Volume.Key
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits SfcKey
'Usage
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
The Volume.Key type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Inherited from SfcKey.) | |
Name | Gets the name of the Volume key. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object key is equal to the referenced string value. (Overrides SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether the specified object key is equal to the referenced object key. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether the two specified objects are equal. | |
GetHashCode | Gets the hash code for the object. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
GetUrnFragment | Gets the URN path partial string that represents the volume. (Overrides SfcKey.GetUrnFragment().) | |
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.) |
Top
Operators
Name | Description | |
---|---|---|
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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.