Condividi tramite


Classe Package.Key

A SQL Foundation Class key that identifies a Package object.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class Key _
    Inherits SfcKey
'Utilizzo
Dim instance As Package.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

Nel tipo Package.Key sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Package.Key() Creates a new instance of the Package.Key class.
Metodo pubblico Package.Key(Package.Key) Creates a new instance of the Package.Key class from another Package.Key object.
Metodo pubblico Package.Key(String, String) Initializes a new instance of the Package.Key class with the specified GUID and name.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica InstanceType Gets the type of the instance class associated with this key class. Ereditato da SfcKey.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals(Object) Determines whether a Package.Key object is equal to another object. Esegue l'override di SfcKey.Equals(Object).
Metodo pubblico Equals(SfcKey) Determines whether a Package.Key object is equal to a SfcKey object. Esegue l'override di SfcKey.Equals(SfcKey).
Metodo pubblicoMembro statico Equals(Object, Object) Determines whether two objects are equal.
Metodo pubblico GetHashCode Gets the hash code for a Package.Key object. Esegue l'override di SfcKey.GetHashCode().
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico GetUrnFragment Gets an element of an Urn object. Esegue l'override di SfcKey.GetUrnFragment().
Metodo pubblico ToString Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. Ereditato da SfcKey.

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality(Object, Package.Key) Determines whether a Package.Key object is equal to another object.
Operatore pubblicoMembro statico Equality(Package.Key, Package.Key) Determines whether two instances of Package.Key are equal.
Operatore pubblicoMembro statico Equality(Package.Key, Object) Determines whether a Package.Key object is equal to another object.
Operatore pubblicoMembro statico Inequality(Object, Package.Key) Determines whether a Package.Key object is not equal to another object.
Operatore pubblicoMembro statico Inequality(Package.Key, Package.Key) Determines whether two Package.Key objects are equal.
Operatore pubblicoMembro statico Inequality(Package.Key, Object) Determines whether a Package.Key object is not equal to another object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.XEvent