PackageClass.SetProject Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Sets the specified project.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Public Overridable Sub SetProject ( _
pProject As IDTSProject100, _
bstrPackageLocation As String _
)
'Usage
Dim instance As PackageClass
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
)
Parameters
- pProject
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSProject100
The project to set.
- bstrPackageLocation
Type: System.String
The location to the package items.
Implements
IDTSProjectPackage100.SetProject(IDTSProject100, String)
Remarks
For more information, see Package.