IDTSProjectPackage100.SetProject 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Sets the DTS project.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub SetProject ( _
pProject As IDTSProject100, _
bstrPackageLocation As String _
)
'用途
Dim instance As IDTSProjectPackage100
Dim pProject As IDTSProject100
Dim bstrPackageLocation As String
instance.SetProject(pProject, bstrPackageLocation)
void SetProject(
IDTSProject100 pProject,
string bstrPackageLocation
)
void SetProject(
[InAttribute] IDTSProject100^ pProject,
[InAttribute] String^ bstrPackageLocation
)
abstract SetProject :
pProject:IDTSProject100 *
bstrPackageLocation:string -> unit
function SetProject(
pProject : IDTSProject100,
bstrPackageLocation : String
)
參數
- pProject
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
The DTS project.
- bstrPackageLocation
型別:System.String
The location to the package items.