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 命名空间