Delen via


DacDomain.Key Class

The DacDomain.Key class contains the key that identifies the DacDomain class.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
    Microsoft.SqlServer.Management.Sdk.Sfc.DomainRootKey
      Microsoft.SqlServer.Management.Dac.DacDomain.Key

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

Syntax

'Declaration
Public NotInheritable Class Key _
    Inherits DomainRootKey
'Usage
Dim instance As DacDomain.Key
public sealed class Key : DomainRootKey
public ref class Key sealed : public DomainRootKey
[<SealedAttribute>]
type Key =  
    class
        inherit DomainRootKey
    end
public final class Key extends DomainRootKey

The DacDomain.Key type exposes the following members.

Constructors

  Name Description
Public method DacDomain.Key Initializes a new instance of the DacDomain.Key class.

Top

Properties

  Name Description
Public property Domain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from DomainRootKey.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the DAC domain represented by the DacDomain.Key object. (Overrides SfcKey.Equals(Object).)
Public method Equals(SfcKey) Determines whether the object associated with the specified SFC key is equal to the DAC domain represented by the DacDomain.Key object. (Overrides SfcKey.Equals(SfcKey).)
Public methodStatic member Equals(Object, Object) Determines whether two objects are equal.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Gets the hash code for the DAC domain key. (Overrides SfcKey.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method GetUrnFragment Gets the partial unique resource name (URN) path string that represents the DAC store. (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, DacDomain.Key) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
Public operatorStatic member Equality(DacDomain.Key, DacDomain.Key) Performs a Boolean equality operation to determine whether two DACDomain keys reference the same DAC domain.
Public operatorStatic member Equality(DacDomain.Key, Object) Performs a Boolean equality operation to determine whether a specified object is the same as the DAC domain associated with a specified DACDomain key.
Public operatorStatic member Inequality(Object, DacDomain.Key) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.
Public operatorStatic member Inequality(DacDomain.Key, DacDomain.Key) Performs a Boolean inequality operation to determine whether two DACDomain keys reference different DAC domains.
Public operatorStatic member Inequality(DacDomain.Key, Object) Performs a Boolean inequality operation to determine whether a specified object is different than the DAC domain associated with a specified DACDomain key.

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.