Volume.Key 类

定义

Volume.Key 代表识别该 Volume 类的键。

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
继承
Volume.Key

构造函数

名称 说明
Volume.Key()

初始化一个拥有指定名称的 Volume.Key 类的新实例。

Volume.Key(String)

初始化一个拥有指定名称的 Volume.Key 类的新实例。

Volume.Key(Volume+Key)

基于指定的密钥初始化该类的新 Volume.Key 实例。

属性

名称 说明
InstanceType

获取与该密钥类关联的实例类类型。

(继承自 SfcKey)
Name

拿到钥匙的名字 Volume

方法

名称 说明
Equals(Object, Object)

确定两个指定对象是否相等。

Equals(Object)

确定指定的对象键是否等于引用字符串值。

Equals(SfcKey)

确定指定的对象键是否等于被引用的对象键。

GetHashCode()

获取对象的哈希代码。

GetUrnFragment()

获取代表体积的URN路径部分字符串。

ToString()

请不要在代码中直接引用该成员。 它支持 SQL Server 基础设施。 返回 String 一个可排序的对象表示值,可用于外部比较器。

(继承自 SfcKey)

运算符

名称 说明
Equality(Object, Volume+Key)

确定指定对象与键的右侧是否相等。

Equality(Volume+Key, Object)

确定指定对象与键左侧是否相等。

Equality(Volume+Key, Volume+Key)

确定两个关键对象是否使用指定的操作数值相同。

Inequality(Object, Volume+Key)

确定指定对象与键右侧是否不相等。

Inequality(Volume+Key, Object)

确定指定对象与键左侧是否不相等。

Inequality(Volume+Key, Volume+Key)

确定两个指定密钥对象是否使用指定操作数的值不同。

适用于