共用方式為


DTS_PACKAGE_UPGRADE_OPTIONS.UpgradeConnectionProviders 欄位

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Specifies to update the connection string to use the new provider names.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public UpgradeConnectionProviders As Short
'用途
Dim instance As DTS_PACKAGE_UPGRADE_OPTIONS 
Dim value As Short 

value = instance.UpgradeConnectionProviders 

instance.UpgradeConnectionProviders = value
public short UpgradeConnectionProviders
public:
short UpgradeConnectionProviders
val mutable UpgradeConnectionProviders: int16
public var UpgradeConnectionProviders : short

請參閱

參考

DTS_PACKAGE_UPGRADE_OPTIONS 結構

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間