CollectionSet.Key 類別
The CollectionSet..::..Key class inherits from SfcAbstractKey and is used for identification key operations
繼承階層
System. . :: . .Object
Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Microsoft.SqlServer.Management.Collector..::..CollectionSet..::..Key
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public Class Key _
Inherits SfcKey
'用途
Dim instance As CollectionSet.Key
public class Key : SfcKey
public ref class Key : public SfcKey
type Key =
class
inherit SfcKey
end
public class Key extends SfcKey
CollectionSet..::..Key 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
CollectionSet. . :: . .Key(String) | Creates an instance of a key given the key name. | |
CollectionSet. . :: . .Key(CollectionSet. . :: . .Key) | Creates an instance of a CollectionSet..::..Key object. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals(SfcKey) | Instantiates an instance of the Equals class that is used for Boolean operations. (覆寫 SfcKey. . :: . .Equals(SfcKey)。) | |
Equals(Object) | Performs a Boolean operation to determine if the object passed as a parameter is a key. (覆寫 SfcKey. . :: . .Equals(Object)。) | |
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, CollectionSet. . :: . .Key) | Does a boolean equality comparison between the object sent as a parameter and the right hand side of the key. | |
Equality(CollectionSet. . :: . .Key, CollectionSet. . :: . .Key) | Does a Boolean equality comparison between the left hand side of the key and the right hand side of the key. | |
Equality(CollectionSet. . :: . .Key, Object) | Does a Boolean equality comparison between the object sent as a parameter and the left hand side of the key. | |
Inequality(Object, CollectionSet. . :: . .Key) | Does a Boolean inequality comparison between the object sent as a parameter and the right hand side of the key. | |
Inequality(CollectionSet. . :: . .Key, CollectionSet. . :: . .Key) | Does a boolean inequality comparison between the left hand side of the key and the right hand side of the key. | |
Inequality(CollectionSet. . :: . .Key, Object) | Does a Boolean inequality comparison between the object sent as a parameter and the left hand side of the key. |
上層
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。