Compartir a través de


Clase Package.Key

A SQL Foundation Class key that identifies a Package object.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.XEvent
Ensamblado:  Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)

Sintaxis

'Declaración
Public NotInheritable Class Key _
    Inherits SfcKey
'Uso
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

El tipo Package.Key expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público Package.Key() Creates a new instance of the Package.Key class.
Método público Package.Key(Package.Key) Creates a new instance of the Package.Key class from another Package.Key object.
Método público Package.Key(String, String) Initializes a new instance of the Package.Key class with the specified GUID and name.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública InstanceType Gets the type of the instance class associated with this key class. (Se hereda de SfcKey.)

Arriba

Métodos

  Nombre Descripción
Método público Equals(Object) Determines whether a Package.Key object is equal to another object. (Invalida SfcKey.Equals(Object).)
Método público Equals(SfcKey) Determines whether a Package.Key object is equal to a SfcKey object. (Invalida SfcKey.Equals(SfcKey).)
Método públicoMiembro estático Equals(Object, Object) Determines whether two objects are equal.
Método público GetHashCode Gets the hash code for a Package.Key object. (Invalida SfcKey.GetHashCode().)
Método público GetType (Se hereda de Object.)
Método público GetUrnFragment Gets an element of an Urn object. (Invalida SfcKey.GetUrnFragment().)
Método público ToString No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Se hereda de SfcKey.)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Equality(Object, Package.Key) Determines whether a Package.Key object is equal to another object.
Operador públicoMiembro estático Equality(Package.Key, Package.Key) Determines whether two instances of Package.Key are equal.
Operador públicoMiembro estático Equality(Package.Key, Object) Determines whether a Package.Key object is equal to another object.
Operador públicoMiembro estático Inequality(Object, Package.Key) Determines whether a Package.Key object is not equal to another object.
Operador públicoMiembro estático Inequality(Package.Key, Package.Key) Determines whether two Package.Key objects are equal.
Operador públicoMiembro estático Inequality(Package.Key, Object) Determines whether a Package.Key object is not equal to another object.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.XEvent