Compartilhar via


Classe PredSourceInfo.Key

A SQL Foundation Class key for identification of PredSourceInfo objects.

Hierarquia de herança

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.XEvent.PredSourceInfo.Key

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)

Sintaxe

'Declaração
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
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

O tipo PredSourceInfo.Key expõe os membros a seguir.

Construtores

  Nome Descrição
Método público PredSourceInfo.Key() Initializes a new instance of the PredSourceInfo.Key class.
Método público PredSourceInfo.Key(String) Initializes a new instance of the PredSourceInfo.Key class from the name parameter.
Método público PredSourceInfo.Key(PredSourceInfo.Key) Initializes a new instance of the PredSourceInfo.Key class from another PredSourceInfo.Key object.

Início

Propriedades

  Nome Descrição
Propriedade pública InstanceType Gets the type of the instance class associated with this key class. (Herdado de SfcKey.)
Propriedade pública Name Gets the name of the PredSourceInfo.Key object.

Início

Métodos

  Nome Descrição
Método público Equals(Object) Determines whether a Microsoft.SqlServer.Management.XEvent.PredSourceInfo.Key object is equal to another object. (Substitui SfcKey.Equals(Object).)
Método público Equals(SfcKey) Determines whether a PredSourceInfo.Key object is equal to an SfcKey object. (Substitui SfcKey.Equals(SfcKey).)
Método públicoMembro estático Equals(Object, Object) Tests equality between two objects.
Método público GetHashCode Gets the hash code of a PredSourceInfo.Key object. (Substitui SfcKey.GetHashCode().)
Método público GetType (Herdado de Object.)
Método público GetUrnFragment Gets an element of an Urn object. (Substitui SfcKey.GetUrnFragment().)
Método público ToString Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Herdado de SfcKey.)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality(Object, PredSourceInfo.Key) Implements the operator == that tests equality between an instance of PredSourceInfo.Key and another object.
Operador públicoMembro estático Equality(PredSourceInfo.Key, PredSourceInfo.Key) Determines whether two PredSourceInfo.Key objects are equal.
Operador públicoMembro estático Equality(PredSourceInfo.Key, Object) Determines whether a PredCompareInfo.Key object is equal to another object.
Operador públicoMembro estático Inequality(Object, PredSourceInfo.Key) Determines whether a PredCompareInfo.Key object is not equal to another object.
Operador públicoMembro estático Inequality(PredSourceInfo.Key, PredSourceInfo.Key) Determines whether a PredCompareInfo.Key object is not equal to a PredCompareInfo.Key object.
Operador públicoMembro estático Inequality(PredSourceInfo.Key, Object) Determines whether a PredCompareInfo.Key object is not equal to another object.

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.SqlServer.Management.XEvent