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. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。