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