CollectionItem.Key 類別
The CollectionItem.Key class inherits from SfcAbstractKey and is used for identification key operations.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.Collector.CollectionItem.Key
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public Class Key _
Inherits SfcKey
'用途
Dim instance As CollectionItem.Key
public class Key : SfcKey
public ref class Key : public SfcKey
type Key =
class
inherit SfcKey
end
public class Key extends SfcKey
CollectionItem.Key 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
CollectionItem.Key(String) | Creates an instance of a key given the key name. | |
CollectionItem.Key(CollectionItem.Key) | Creates an instance of a [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key] object. |
上層
屬性
名稱 | 說明 | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (繼承自 SfcKey。) | |
Name | Gets or sets the key name. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals(Object) | Performs a boolean operation to determine if the object passed as a parameter is a key (覆寫 SfcKey.Equals(Object)。) | |
Equals(SfcKey) | Instantiates an instance of the [T:][Microsoft.SqlServer.Management.Collector.CollectionItem.Key.Equals] class that is used for boolean operations. (覆寫 SfcKey.Equals(SfcKey)。) | |
Equals(Object, Object) | Does a boolean comparison of two objects passed as parameters. | |
Finalize | (繼承自 Object。) | |
GetHashCode | Gets the hash code for a key. (覆寫 SfcKey.GetHashCode()。) | |
GetType | (繼承自 Object。) | |
GetUrnFragment | Gets a urn fragment. (覆寫 SfcKey.GetUrnFragment()。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | Gets a string representation of the key for the purpose of a default comparison. (覆寫 SfcKey.ToString()。) |
上層
運算子
名稱 | 說明 | |
---|---|---|
Equality(Object, CollectionItem.Key) | Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key. | |
Equality(CollectionItem.Key, CollectionItem.Key) | Does a boolean equality comparision between the left hand side of the key and the right hand side of the key. | |
Equality(CollectionItem.Key, Object) | Does a boolean equality comparision between the object sent as a parameter and the left hand side of the key. | |
Inequality(Object, CollectionItem.Key) | Does a boolean inequality comparision between the object sent as a parameter and the right hand side of the key. | |
Inequality(CollectionItem.Key, CollectionItem.Key) | Does a boolean inequality comparision between the left hand side of the key and the right hand side of the key. | |
Inequality(CollectionItem.Key, Object) | Does a boolean inequality comparision between the object sent as a parameter and the left hand side of the key. |
上層
欄位
名稱 | 說明 | |
---|---|---|
name | Declares the name variable. |
上層
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。