共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。