Package.Key Class
A SQL Foundation Class key that identifies a Package object.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Microsoft.SqlServer.Management.XEvent.Package.Key
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public NotInheritable Class Key _
Inherits SfcKey
'Usage
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
The Package.Key type exposes the following members.
Constructors
Name | 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. |
Top
Properties
Name | Description | |
---|---|---|
InstanceType | Gets the type of the instance class associated with this key class. (Inherited from SfcKey.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether a Package.Key object is equal to another object. (Overrides SfcKey.Equals(Object).) | |
Equals(SfcKey) | Determines whether a Package.Key object is equal to a SfcKey object. (Overrides SfcKey.Equals(SfcKey).) | |
Equals(Object, Object) | Determines whether two objects are equal. | |
GetHashCode | Gets the hash code for a Package.Key object. (Overrides SfcKey.GetHashCode().) | |
GetType | (Inherited from Object.) | |
GetUrnFragment | Gets an element of an Urn object. (Overrides SfcKey.GetUrnFragment().) | |
ToString | Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns a String value that is a sortable representation of the object that can be used in external comparers. (Inherited from SfcKey.) |
Top
Operators
Name | 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. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.