SchemaDeployment.CreateController 方法
创建并返回一个 ISchemaDeploymentController 对象。
命名空间: Microsoft.Data.Schema.Build
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function CreateController As ISchemaDeploymentController
public ISchemaDeploymentController CreateController()
public:
ISchemaDeploymentController^ CreateController()
member CreateController : unit -> ISchemaDeploymentController
public function CreateController() : ISchemaDeploymentController
返回值
类型:Microsoft.Data.Schema.Build.ISchemaDeploymentController
如果源数据库、目标数据库或比较结果为 nullnull 引用(在 Visual Basic 中为 Nothing),则会创建并准备好执行部署所需的对象。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。