TransferStoredProceduresTask 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含方法、属性和枚举,用于将存储过程从位于SQL Server的一个实例上的 master 数据库复制到另一个实例。 此类不能被继承。
public ref class TransferStoredProceduresTask sealed : Microsoft::SqlServer::Dts::Runtime::Task, Microsoft::SqlServer::Dts::Runtime::IDTSBreakpointSite, Microsoft::SqlServer::Dts::Runtime::IDTSComponentPersist, Microsoft::SqlServer::Dts::Tasks::TransferStoredProceduresTask::ITransferStoredProceduresTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("54C2CFD1-3790-45B9-812F-4D13BDE68AAD")]
public sealed class TransferStoredProceduresTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.ITransferStoredProceduresTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("B6BE3A0B-0DD0-488D-99FA-914579408216")]
public sealed class TransferStoredProceduresTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.ITransferStoredProceduresTask
[Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")]
[System.Runtime.InteropServices.Guid("06B10A63-3871-4FE1-B3FA-ADFE995D0610")]
public sealed class TransferStoredProceduresTask : Microsoft.SqlServer.Dts.Runtime.Task, Microsoft.SqlServer.Dts.Runtime.IDTSBreakpointSite, Microsoft.SqlServer.Dts.Runtime.IDTSComponentPersist, Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.ITransferStoredProceduresTask
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2016; © 2015 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=13.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("54C2CFD1-3790-45B9-812F-4D13BDE68AAD")>]
type TransferStoredProceduresTask = class
inherit Task
interface ITransferStoredProceduresTask
interface IDTSBreakpointSite
interface IDTSSuspend
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2017; © 2017 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=14.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("B6BE3A0B-0DD0-488D-99FA-914579408216")>]
type TransferStoredProceduresTask = class
inherit Task
interface ITransferStoredProceduresTask
interface IDTSBreakpointSite
interface IDTSSuspend
interface IDTSComponentPersist
[<Microsoft.SqlServer.Dts.Runtime.DtsTask(HelpKeyword="sql13.dts.designer.transfermasterspstask.F1", LocalizationType=typeof(Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTask.Localized), SamplesTag="SsisTransferMasterStoredProceduresTask", TaskContact="Transfer Stored Procedures Task; Microsoft Corporation; SQL Server 2019; © 2019 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1", TaskType="DTS90", UITypeName="Microsoft.SqlServer.Dts.Tasks.TransferStoredProceduresTaskUI.TransferStoredProceduresTaskUI, Microsoft.SqlServer.TransferStoredProceduresTaskUI, Version=15.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91")>]
[<System.Runtime.InteropServices.Guid("06B10A63-3871-4FE1-B3FA-ADFE995D0610")>]
type TransferStoredProceduresTask = class
inherit Task
interface ITransferStoredProceduresTask
interface IDTSBreakpointSite
interface IDTSSuspend
interface IDTSComponentPersist
Public NotInheritable Class TransferStoredProceduresTask
Inherits Task
Implements IDTSBreakpointSite, IDTSComponentPersist, ITransferStoredProceduresTask
- 继承
- 属性
- 实现
构造函数
TransferStoredProceduresTask() |
初始化 TransferStoredProceduresTask 类的新实例。 |
属性
DebugMode |
获取或设置一个布尔值,该值指示任务是否应确定是否启用断点。 |
DestinationConnection |
获取或设置一个字符串,其中包含源/目标数据库的 SMO 连接管理器的名称。 |
ExecutionValue |
返回一个对象,它包含已传输的存储过程的数目的计数。 |
IfObjectExists |
从 IfObjectExists 枚举获取或设置一个值,该值指示如果在目标位置存在具有相同名称的存储过程,该任务应该失败、覆盖现有存储过程还是跳过该存储过程的传输。 |
SourceConnection |
获取或设置一个字符串,其中包含源/目标数据库的 SMO 连接管理器的名称。 |
StoredProceduresList |
获取或设置包含以逗号分隔的存储过程名称列表的 StringCollection。 |
SuspendRequired |
获取或设置一个布尔值,该值指示任务在遇到断点时是否应挂起。 遇到断点时,将由任务或容器的运行时引擎设置此值。 |
TargetServerVersion |
包含方法、属性和枚举,用于将存储过程从位于SQL Server的一个实例上的 master 数据库复制到另一个实例。 此类不能被继承。 (继承自 Task) |
TransferAllStoredProcedures |
获取或设置一个值,该值指示是否传输 master 数据库中的所有存储过程。 |
Version |
*** 不推荐使用的成员;请参阅“备注”。 *** 返回任务的版本。 此属性为只读。 (继承自 Task) |