Package.Key 類別
A SQL Foundation Class key that identifies a Package object.
繼承階層
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Package.Key
命名空間: Microsoft.SqlServer.Management.XEvent
組件: Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)
語法
'宣告
Public NotInheritable Class Key _
Inherits SfcKey
'用途
Dim instance As Package.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
Package.Key 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
Package.Key() | Creates a new instance of the Package.Key class. |
![]() |
Package.Key(Package.Key) | Creates a new instance of the Package.Key class from another Package.Key object. |
![]() |
Package.Key(String, String) | Initializes a new instance of the Package.Key class with the specified GUID and name. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (繼承自 SfcKey。) |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals(Object) | Determines whether a Package.Key object is equal to another object. (覆寫 SfcKey.Equals(Object)。) |
![]() |
Equals(SfcKey) | Determines whether a Package.Key object is equal to a SfcKey object. (覆寫 SfcKey.Equals(SfcKey)。) |
![]() ![]() |
Equals(Object, Object) | Determines whether two objects are equal. |
![]() |
GetHashCode | Gets the hash code for a Package.Key object. (覆寫 SfcKey.GetHashCode()。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
GetUrnFragment | Gets an element of an Urn object. (覆寫 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, Package.Key) | Determines whether a Package.Key object is equal to another object. |
![]() ![]() |
Equality(Package.Key, Package.Key) | Determines whether two instances of Package.Key are equal. |
![]() ![]() |
Equality(Package.Key, Object) | Determines whether a Package.Key object is equal to another object. |
![]() ![]() |
Inequality(Object, Package.Key) | Determines whether a Package.Key object is not equal to another object. |
![]() ![]() |
Inequality(Package.Key, Package.Key) | Determines whether two Package.Key objects are equal. |
![]() ![]() |
Inequality(Package.Key, Object) | Determines whether a Package.Key object is not equal to another object. |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。