Delen via


PredCompareInfo.Key Class

An SQL Foundation Class key for identification of PredCompareInfo objects.

Inheritance Hierarchy

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

Constructors

  Name Description
Public method PredCompareInfo.Key() Initializes a new instance of the PredCompareInfo.Key class.
Public method PredCompareInfo.Key(String) Initializes a new instance of the PredCompareInfo.Key class from the name parameter.
Public method PredCompareInfo.Key(PredCompareInfo.Key) Initializes a new instance of the PredCompareInfo.Key class from another PredCompareInfo.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 the name of the PredCompareInfo.Key object.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether a PredCompareInfo.Key object is equal to a System.Object. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines whether a PredCompareInfo.Key object is equal to an SfcKey object. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines two objects are equal.
Public method GetHashCode Gets the hash code of a PredCompareInfo.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, PredCompareInfo.Key) Determines whether a PredCompareInfo.Key object is equal to another object.
Public operatorStatic member Equality(PredCompareInfo.Key, PredCompareInfo.Key) Determines whether two PredCompareInfo.Key objects are equal.
Public operatorStatic member Equality(PredCompareInfo.Key, Object) Determines whether a PredCompareInfo.Key object is equal to another object.
Public operatorStatic member Inequality(Object, PredCompareInfo.Key) Determines whether a PredCompareInfo.Key object is not equal to another object.
Public operatorStatic member Inequality(PredCompareInfo.Key, PredCompareInfo.Key) Determines whether two PredCompareInfo.Key objects are not equal.
Public operatorStatic member Inequality(PredCompareInfo.Key, Object) Determines whether a PredCompareInfo.Key object is not equal to 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