共用方式為


SchemaDeploymentConstructor 類別

Visual Studio 用來建立 SchemaDeployment 物件。

繼承階層架構

System.Object
  Microsoft.Data.Schema.ServiceConstructor
    Microsoft.Data.Schema.ServiceConstructor<SchemaDeployment>
      Microsoft.Data.Schema.Build.SchemaDeploymentConstructor

命名空間:  Microsoft.Data.Schema.Build
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Class SchemaDeploymentConstructor _
    Inherits ServiceConstructor(Of SchemaDeployment)
public class SchemaDeploymentConstructor : ServiceConstructor<SchemaDeployment>
public ref class SchemaDeploymentConstructor : public ServiceConstructor<SchemaDeployment^>
type SchemaDeploymentConstructor =  
    class
        inherit ServiceConstructor<SchemaDeployment>
    end
public class SchemaDeploymentConstructor extends ServiceConstructor<SchemaDeployment>

SchemaDeploymentConstructor 型別會公開下列成員。

建構函式

  名稱 說明
公用方法 SchemaDeploymentConstructor 初始化 SchemaDeploymentConstructor 類別的新執行個體。

回頁首

屬性

  名稱 說明
公用屬性 DatabaseSchemaProvider 取得或設定目前的資料庫結構描述提供者。 (繼承自 ServiceConstructor)。
公用屬性 Errors 取得或設定錯誤管理員,以包含在部署程序期間發現的任何錯誤或警告。
公用屬性 TargetDatabaseName

回頁首

方法

  名稱 說明
公用方法 Clone 複製目前的執行個體。 (繼承自 ServiceConstructor<TService>)。
公用方法 ConstructService DatabaseSchemaProvider 呼叫,建立所指定 TService 型別的執行個體。 (繼承自 ServiceConstructor<TService>)。
受保護的方法 ConstructServiceImplementation 由 Visual Studio 呼叫,以取得 SchemaDeployment 物件。 (覆寫 ServiceConstructor<TService>.ConstructServiceImplementation()。)
公用方法 Equals 判斷指定的 Object 和目前的 Object 是否相等。 (繼承自 Object)。
受保護的方法 Finalize 允許物件在記憶體回收進行回收之前,嘗試釋放資源並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為特定型別的雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複本 (Shallow Copy)。 (繼承自 Object)。
受保護的方法 OnConstructDeployment 建立結構描述部署物件。
公用方法 Setup(FileInfo, FileInfo)
公用方法 Setup(FileInfo, String) 使用提供的原始程式檔和目標連接字串,準備 SchemaDeployment 物件。
公用方法 Setup(DataSchemaModel, String) 使用提供的來源模型和目標連接字串,準備 SchemaDeployment 物件。
公用方法 Setup(DataSchemaModel, DataSchemaModel, ModelComparisonResult) 使用提供的來源和目標結構描述模型以及指定的比較結果,準備 SchemaDeployment 物件。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Microsoft.Data.Schema.Build 命名空間

ServiceConstructor<TService>