Share via


DacInstance.Key Class

The DacInstance.Key class represents the key that identifies the DacInstance class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Dac.DacInstance.Key

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits SfcKey
'Usage
Dim instance As DacInstance.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 DacInstance.Key type exposes the following members.

Constructors

  Name Description
Public method DacInstance.Key() Initializes a new instance of the DacInstance.Key class that has the specified name.
Public method DacInstance.Key(String) Initializes a new instance of the DacInstance.Key class that has the specified name.
Public method DacInstance.Key(DacInstance.Key) Initializes a new instance of the DacInstance.Key class based on the specified key.

Top

Properties

  Name Description
Public property Name Gets the name of the DacInstance key.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object key is equal to the referenced object key. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines whether the specified object key is equal to the referenced object key. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines whether the specified object key is equal to the referenced object key.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the object. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets the unique resource name (URN) path partial string that represents the DAC package. (Overrides SfcKey.GetUrnFragment().)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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
Public operatorStatic member Equality(Object, DacInstance.Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Public operatorStatic member Equality(DacInstance.Key, DacInstance.Key) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Public operatorStatic member Equality(DacInstance.Key, Object) Performs a Boolean equality operation to determine whether two DACInstance keys reference the same DAC instance.
Public operatorStatic member Inequality(Object, DacInstance.Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Public operatorStatic member Inequality(DacInstance.Key, DacInstance.Key) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.
Public operatorStatic member Inequality(DacInstance.Key, Object) Performs a Boolean inequality operation to determine whether two DACInstance keys reference the same DAC instance.

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

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.