Delen via


EventField.Key Class

Represents the identity key for an EventField object.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.EventField.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 EventField.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 EventField.Key type exposes the following members.

Constructors

  Name Description
Public method EventField.Key() Default constructor for generic key generation that creates a new instance of the EventField.Key class.
Public method EventField.Key(String) Creates a new instance of the EventField.Key class from the name parameter.
Public method EventField.Key(EventField.Key) Creates a new instance of the EventField.Key class from another EventField.Key object.

Top

Properties

  Name Description
Public property InstanceType Gets the type of the instance class associated with this key class. (Inherited from SfcKey.)
Public property Name Gets or sets the name of the EventField object

Top

Methods

  Name Description
Public method Equals(Object) Determines whether two objects are equal by performing an equality operation on an instance of the EventField.Key class and another object. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and an SfcKey object. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines whether two objects are equal by performing an equality operation on two instances of the System.Object class.
Public method GetHashCode Gets the hash code for a EventField.Key object. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets an element of an Urn object. (Overrides SfcKey.GetUrnFragment().)
Public method 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
Public operatorStatic member Equality(Object, EventField.Key) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Public operatorStatic member Equality(EventField.Key, EventField.Key) Determines whether two objects are equal by performing an equality operation on two EventField.Key objects.
Public operatorStatic member Equality(EventField.Key, Object) Determines whether two objects are equal by performing an equality operation on a EventField.Key object and another object.
Public operatorStatic member Inequality(Object, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on an instance of the EventField.Key class and another object.
Public operatorStatic member Inequality(EventField.Key, EventField.Key) Determines whether two objects are unequal by performing an inequality operation on two EventField.Key objects.
Public operatorStatic member Inequality(EventField.Key, Object) Determines whether two objects are unequal by performing an inequality operation on a EventField.Key object and another 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.

See Also

Reference

Microsoft.SqlServer.Management.XEvent Namespace