共用方式為


PredSourceInfo.Key 類別

A SQL Foundation Class key for identification of PredSourceInfo objects.

繼承階層

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.PredSourceInfo.Key

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
Public NotInheritable Class Key _
    Inherits SfcKey
'用途
Dim instance As PredSourceInfo.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

PredSourceInfo.Key 型別公開下列成員。

建構函式

  名稱 說明
公用方法 PredSourceInfo.Key() Initializes a new instance of the PredSourceInfo.Key class.
公用方法 PredSourceInfo.Key(String) Initializes a new instance of the PredSourceInfo.Key class from the name parameter.
公用方法 PredSourceInfo.Key(PredSourceInfo.Key) Initializes a new instance of the PredSourceInfo.Key class from another PredSourceInfo.Key object.

上層

屬性

  名稱 說明
公用屬性 InstanceType Gets the type of the instance class associated with this key class. (繼承自 SfcKey。)
公用屬性 Name Gets the name of the PredSourceInfo.Key object.

上層

方法

  名稱 說明
公用方法 Equals(Object) Determines whether a Microsoft.SqlServer.Management.XEvent.PredSourceInfo.Key object is equal to another object. (覆寫 SfcKey.Equals(Object)。)
公用方法 Equals(SfcKey) Determines whether a PredSourceInfo.Key object is equal to an SfcKey object. (覆寫 SfcKey.Equals(SfcKey)。)
公用方法靜態成員 Equals(Object, Object) Tests equality between two objects.
公用方法 GetHashCode Gets the hash code of a PredSourceInfo.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, PredSourceInfo.Key) Implements the operator == that tests equality between an instance of PredSourceInfo.Key and another object.
公用運算子靜態成員 Equality(PredSourceInfo.Key, PredSourceInfo.Key) Determines whether two PredSourceInfo.Key objects are equal.
公用運算子靜態成員 Equality(PredSourceInfo.Key, Object) Determines whether a PredCompareInfo.Key object is equal to another object.
公用運算子靜態成員 Inequality(Object, PredSourceInfo.Key) Determines whether a PredCompareInfo.Key object is not equal to another object.
公用運算子靜態成員 Inequality(PredSourceInfo.Key, PredSourceInfo.Key) Determines whether a PredCompareInfo.Key object is not equal to a PredCompareInfo.Key object.
公用運算子靜態成員 Inequality(PredSourceInfo.Key, Object) Determines whether a PredCompareInfo.Key object is not equal to another object.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.XEvent 命名空間