Partager via


DacDomain Class

The DacDomain class instantiates the Microsoft.SqlServer.Management.Sdk.Sfc methods and properties inherited by the DacStore class.

Inheritance Hierarchy

Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.Dac.DacDomain
      Microsoft.SqlServer.Management.Dac.DacStore

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

Syntax

'Déclaration
Public Class DacDomain _
    Inherits SfcInstance _
    Implements ISfcDomain, ISfcDomainLite, ISfcHasConnection
'Utilisation
Dim instance As DacDomain
public class DacDomain : SfcInstance, ISfcDomain, 
    ISfcDomainLite, ISfcHasConnection
public ref class DacDomain : public SfcInstance, 
    ISfcDomain, ISfcDomainLite, ISfcHasConnection
type DacDomain =  
    class
        inherit SfcInstance
        interface ISfcDomain
        interface ISfcDomainLite
        interface ISfcHasConnection
    end
public class DacDomain extends SfcInstance implements ISfcDomain, ISfcDomainLite, ISfcHasConnection

The DacDomain type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Protected property AbstractIdentityKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public property DacInstances Gets a DacInstanceCollection object that enumerates the DAC instances deployed or registered on an instance of the Database Engine.
Public property DacStore Gets the DacStore object associated with this DacDomain object.
Public property Metadata Returns metadata about the instance and its domain. (Inherited from SfcInstance.)
Public property Name Gets a String value with the name of the instance of the Database Engine to which the DAC domain is connected.
Public property Parent Gets or sets the instance parent via the keychain. (Inherited from SfcInstance.)
Public property Properties Returns a collection instance properties. (Inherited from SfcInstance.)
Protected property PropertyStorageProvider Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public property SqlStoreConnection Gets or sets the connection to an instance of the Database Engine.
Protected property State Returns the state of the SfcInstance object. (Inherited from SfcInstance.)
Public property Urn Returns the uniform resource name of the SfcInstance object. (Inherited from SfcInstance.)

Top

Methods

  Name Description
Protected method AlterImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method CheckObjectCreated Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method CheckObjectState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method CreateIdentityKey Creates a SfcKey object for the DAC domain. (Overrides SfcInstance.CreateIdentityKey().)
Protected method CreateImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Discover Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method DropImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetChildCollection Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Returns a ISfcCollection object. (Overrides SfcInstance.GetChildCollection(String).)
Public method GetDomain Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method GetHashCode (Inherited from Object.)
Public method GetPropertySet Returns the set of properties for the SfcInstance object. (Inherited from SfcInstance.)
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method InitializeUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method MarkForDropImpl Returns a value that indicates the existing objects to be dropped. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method MarkRootAsConnected Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method MoveImpl Indicates the new parent object to move in an instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (Inherited from SfcInstance.)
Protected method PostAlter Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method PostCreate Indicates the default implementor that creates the execution result. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method PostDrop Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method PostMove Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method PostRename Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Refresh Refreshes the object's properties by reading them from the server. (Inherited from SfcInstance.)
Protected method RenameImpl Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method ResetKey Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public method Serialize Serializes the instance to XML. (Inherited from SfcInstance.)
Public method ToString Returns a string representation of the instance Urn. (Inherited from SfcInstance.)
Protected method UpdateUIPropertyState Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Protected method Validate Indicates the basic child object's validation. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)

Top

Events

  Name Description
Protected event propertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public event PropertyChanged CLS-compliant event for property changes. (Inherited from SfcInstance.)
Protected event propertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcInstance.)
Public event PropertyMetadataChanged CLS-compliant event for property metadata changes. (Inherited from SfcInstance.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcDomain.GetExecutionEngine Returns an ISfcExecutionEngine object that specifies an instance of the Database Engine for running scripts.
Explicit interface implemetationPrivate method ISfcDomain.GetKey Gets a SfcKey object that represents the DAC domain.
Explicit interface implemetationPrivate method ISfcDomain.GetType Gets a Type object describing the Sfc type with the specified name within the Sfc domain.
Explicit interface implemetationPrivate method ISfcDomain.GetTypeMetadata Obsolete. Gets the metadata for the specified SFC type.
Explicit interface implemetationPrivate method ISfcDomain.UseSfcStateManagement Specifies whether to use the state management provided by the Microsoft.SqlServer.Management.Sdk.Sfc namespace.
Explicit interface implemetationPrivate property ISfcDomainLite.DomainInstanceName Gets the specified instance name of the domain.
Explicit interface implemetationPrivate property ISfcDomainLite.DomainName Gets the specified name of the domain.
Explicit interface implemetationPrivate method ISfcDomainLite.GetLogicalVersion Gets a logical version number that represents the level of changes to the object model in the SFC domain.
Explicit interface implemetationPrivate property ISfcHasConnection.ConnectionContext Gets the specified context for the connection.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection() Gets a connection to the instance of the Database Engine serving as a backing store.
Explicit interface implemetationPrivate method ISfcHasConnection.GetConnection(SfcObjectQueryMode) Gets a connection to the instance of the Database Engine serving as a backing store that supports the specified query processing mode.
Explicit interface implemetationPrivate method ISfcHasConnection.SetConnection Sets the active connection for the domain root.

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.

See Also

Reference

Microsoft.SqlServer.Management.Dac Namespace