Share via


IDTSProjectPackage100.SetProject Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Sets the DTS project.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SetProject ( _
    pProject As IDTSProject100, _
    bstrPackageLocation As String _
)
'Usage
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
)

Parameters

  • bstrPackageLocation
    Type: System.String
    The location to the package items.

See Also

Reference

IDTSProjectPackage100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace