Classe TargetInfo.Key
Represents the identity key for a TargetInfo object.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.TargetInfo.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 TargetInfo.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 TargetInfo.Key expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
TargetInfo.Key() | Initializes a new instance of the TargetInfo.Key class. | |
TargetInfo.Key(String) | Initializes a new instance of the TargetInfo.Key class. | |
TargetInfo.Key(TargetInfo.Key) | Initializes a new instance of the TargetInfo.Key class. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Herdado de SfcKey.) | |
Name | Gets the name of the TargetInfo object. |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals(Object) | Determines whether a TargetInfo.Key object is equal to another object. (Substitui SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether a TargetInfo.Key object is equal to an SfcKey object. (Substitui SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects objects are equal. | |
GetHashCode | Gets the hash code of a TargetInfo.Key object. (Substitui SfcKey.GetHashCode().) | |
GetType | (Herdado de Object.) | |
GetUrnFragment | Gets an element of an Urn object. (Substitui SfcKey.GetUrnFragment().) | |
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 | |
---|---|---|
Equality(Object, TargetInfo.Key) | Determines whether a TargetInfo.Key object is equal to another object. | |
Equality(TargetInfo.Key, TargetInfo.Key) | Determines whether two TargetInfo.Key objects are equal. | |
Equality(TargetInfo.Key, Object) | Determines whether a TargetInfo.Key object is equal to another object. | |
Inequality(Object, TargetInfo.Key) | Determines whether a TargetInfo.Key object is not equal to another object. | |
Inequality(TargetInfo.Key, TargetInfo.Key) | Determines whether two TargetInfo.Key objects are not equal. | |
Inequality(TargetInfo.Key, Object) | Determines whether a TargetInfo.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.