Represents the SQL Foundation Class key class used for identification of an Action object.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Action.Key
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public NotInheritable Class Key _
Inherits SfcKey
用法
Dim instance As Action.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
Action.Key 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
Action.Key() | Initializes a new instance of the Action.Key class. |
![]() |
Action.Key(String) | Initializes a new instance of the Action.Key class. |
![]() |
Action.Key(Action.Key) | Initializes a new instance of the Action.Key class from an Action.Key object. |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
InstanceType | Gets the type of the instance class associated with this key class. (从 SfcKey 继承。) |
![]() |
Name | Gets the name of a Action.Key object. |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals(Object) | Determines whether a Action.Key object is equal to the Object object supplied by the obj parameter. (覆盖 SfcKey.Equals(Object)。) |
![]() |
Equals(SfcKey) | Determines whether an Action.Key object is equal to an SfcKey object supplied by the key parameter. (覆盖 SfcKey.Equals(SfcKey)。) |
![]() ![]() |
Equals(Object, Object) | Determines whether two instances of the Object class are equal. |
![]() |
GetHashCode | Gets the hash code of an Action.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, Action.Key) | Determines whether two Action.Key objects are equal. |
![]() ![]() |
Equality(Action.Key, Action.Key) | Determines whether two Action.Key objects are equal. |
![]() ![]() |
Equality(Action.Key, Object) | Determines whether two Action.Key objects are equal. |
![]() ![]() |
Inequality(Object, Action.Key) | Determines whether two Action.Key objects are not equal. |
![]() ![]() |
Inequality(Action.Key, Action.Key) | Determines whether two Action.Key objects are not equal. |
![]() ![]() |
Inequality(Action.Key, Object) | Determines whether two Action.Key objects are not equal. |
页首
注释
The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is located at the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。