DacDomain 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Dac
程序集:  Microsoft.SqlServer.Management.Dac(在 Microsoft.SqlServer.Management.Dac.dll 中)

语法

声明
Public Class DacDomain _
    Inherits SfcInstance _
    Implements ISfcDomain, ISfcDomainLite, ISfcHasConnection
用法
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

DacDomain 类型公开以下成员。

构造函数

  名称 说明
公共方法 DacDomain Initializes a new instance of the DacDomain class.

页首

属性

  名称 说明
受保护属性 AbstractIdentityKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共属性 DacInstances Gets a DacInstanceCollection object that enumerates the DAC instances deployed or registered on an instance of the Database Engine.
公共属性 DacStore Gets the DacStore object associated with this DacDomain object.
公共属性 Metadata Returns metadata about the instance and its domain. (从 SfcInstance 继承。)
公共属性 Name Gets a String value with the name of the instance of the Database Engine to which the DAC domain is connected.
公共属性 Parent Gets or sets the instance parent via the keychain. (从 SfcInstance 继承。)
公共属性 Properties Returns a collection instance properties. (从 SfcInstance 继承。)
受保护属性 PropertyStorageProvider 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共属性 SqlStoreConnection Gets or sets the connection to an instance of the Database Engine.
受保护属性 State Returns the state of the SfcInstance object. (从 SfcInstance 继承。)
公共属性 Urn Returns the uniform resource name of the SfcInstance object. (从 SfcInstance 继承。)

页首

方法

  名称 说明
受保护方法 AlterImpl 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 CheckObjectCreated 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 CheckObjectState 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 CreateIdentityKey Creates a SfcKey object for the DAC domain. (覆盖 SfcInstance. . :: . .CreateIdentityKey() () () ()。)
受保护方法 CreateImpl 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 Discover 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 DropImpl 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
受保护方法 GetChildCollection 标识为仅供参考。不提供支持。不保证以后的兼容性。 Returns a ISfcCollection object. (覆盖 SfcInstance. . :: . .GetChildCollection(String)。)
公共方法 GetDomain 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetPropertySet Returns the set of properties for the SfcInstance object. (从 SfcInstance 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 GetTypeMetadataImpl Indicates the domains that override by returning the right TypeMetadata class directly. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 InitializeUIPropertyState 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 MarkForDropImpl Returns a value that indicates the existing objects to be dropped. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 MarkRootAsConnected 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 MoveImpl Indicates the new parent object to move in an instance. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 OnPropertyMetadataChanges Invoked whenever the effective value of any SfcInstance metadata is updated. (从 SfcInstance 继承。)
受保护方法 OnPropertyValueChanges Invoked whenever the effective value of any SfcInstance property is updated. (从 SfcInstance 继承。)
受保护方法 PostAlter 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 PostCreate Indicates the default implementor that creates the execution result. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 PostDrop 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 PostMove 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 PostRename 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 Refresh Refreshes the object's properties by reading them from the server. (从 SfcInstance 继承。)
受保护方法 RenameImpl 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 ResetKey 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共方法 Serialize Serializes the instance to XML. (从 SfcInstance 继承。)
公共方法 ToString Returns a string representation of the instance Urn. (从 SfcInstance 继承。)
受保护方法 UpdateUIPropertyState 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
受保护方法 Validate Indicates the basic child object's validation. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)

页首

事件

  名称 说明
受保护事件 propertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共事件 PropertyChanged CLS-compliant event for property changes. (从 SfcInstance 继承。)
受保护事件 propertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcInstance 继承。)
公共事件 PropertyMetadataChanged CLS-compliant event for property metadata changes. (从 SfcInstance 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ISfcDomain. . :: . .GetExecutionEngine Returns an ISfcExecutionEngine object that specifies an instance of the Database Engine for running scripts.
显式接口实现私有方法 ISfcDomain. . :: . .GetKey Gets a SfcKey object that represents the DAC domain.
显式接口实现私有方法 ISfcDomain. . :: . .GetType Gets a Type object describing the Sfc type with the specified name within the Sfc domain.
显式接口实现私有方法 ISfcDomain. . :: . .GetTypeMetadata 已过时。Gets the metadata for the specified SFC type.
显式接口实现私有方法 ISfcDomain. . :: . .UseSfcStateManagement Specifies whether to use the state management provided by the Microsoft.SqlServer.Management.Sdk.Sfc namespace.
显式接口实现私有属性 ISfcDomainLite. . :: . .DomainInstanceName Gets the specified instance name of the domain.
显式接口实现私有属性 ISfcDomainLite. . :: . .DomainName Gets the specified name of the domain.
显式接口实现私有方法 ISfcDomainLite. . :: . .GetLogicalVersion Gets a logical version number that represents the level of changes to the object model in the SFC domain.
显式接口实现私有属性 ISfcHasConnection. . :: . .ConnectionContext Gets the specified context for the connection.
显式接口实现私有方法 ISfcHasConnection. . :: . .GetConnection() () () () Gets a connection to the instance of the Database Engine serving as a backing store.
显式接口实现私有方法 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.
显式接口实现私有方法 ISfcHasConnection. . :: . .SetConnection Sets the active connection for the domain root.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。