Classe Package.Key
A SQL Foundation Class key that identifies a Package object.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Package.Key
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public NotInheritable Class Key _
Inherits SfcKey
'Utilisation
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
Le type Package.Key expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
Package.Key() | Creates a new instance of the Package.Key class. | |
Package.Key(Package.Key) | Creates a new instance of the Package.Key class from another Package.Key object. | |
Package.Key(String, String) | Initializes a new instance of the Package.Key class with the specified GUID and name. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (hérité de SfcKey.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals(Object) | Determines whether a Package.Key object is equal to another object. (remplace SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether a Package.Key object is equal to a SfcKey object. (remplace SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects are equal. | |
GetHashCode | Gets the hash code for a Package.Key object. (remplace SfcKey.GetHashCode().) | |
GetType | (hérité de Object.) | |
GetUrnFragment | Gets an element of an Urn object. (remplace SfcKey.GetUrnFragment().) | |
ToString | Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Returns a String value that is a sortable representation of the object that can be used in external comparers. (hérité de SfcKey.) |
Haut de la page
Opérateurs
Nom | Description | |
---|---|---|
Equality(Object, Package.Key) | Determines whether a Package.Key object is equal to another object. | |
Equality(Package.Key, Package.Key) | Determines whether two instances of Package.Key are equal. | |
Equality(Package.Key, Object) | Determines whether a Package.Key object is equal to another object. | |
Inequality(Object, Package.Key) | Determines whether a Package.Key object is not equal to another object. | |
Inequality(Package.Key, Package.Key) | Determines whether two Package.Key objects are equal. | |
Inequality(Package.Key, Object) | Determines whether a Package.Key object is not equal to another object. |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.