Event.Key Class
An SfcKey class for identification of an Event.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Event.Key
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits SfcKey
'Usage
Dim instance As Event.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
The Event.Key type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Event.Key() | Initializes a new instance of Event.Key class. | |
Event.Key(String) | Initializes a new instance of Event.Key class from the name of the XEvent object. | |
Event.Key(Event.Key) | Initializes a new instance of Event.Key class from another Event.Key object. |
Top
Properties
Name | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Inherited from SfcKey.) | |
Name | Gets the name of the Event as string. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether a Event.Key object is equal to another System.Object. (Overrides SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether an Key object is equal to an SfcKey object. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects are equal. | |
GetHashCode | Gets the hash code of a Event.Key. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
GetUrnFragment | Gets an element of an Urn object. (Overrides SfcKey.GetUrnFragment().) | |
ToString | Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Inherited from SfcKey.) |
Top
Operators
Name | Description | |
---|---|---|
Equality(Object, Event.Key) | Determines whether a Event.Key object is equal to another System.Object. | |
Equality(Event.Key, Event.Key) | Determines whether two Event.Key objects are equal. | |
Equality(Event.Key, Object) | Determines whether a Event.Key object is equal to another System.Object. | |
Inequality(Object, Event.Key) | Determines whether a Event.Key object is not equal to another System.Object. | |
Inequality(Event.Key, Event.Key) | Determines whether two Event.Key objects are not equal. | |
Inequality(Event.Key, Object) | Determines whether a Event.Key object is not equal to another System.Object. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.