Project Project Project Project Class

Definition

Represents Integration Services project which contains packages and parameters.

public ref class Project sealed : Microsoft::SqlServer::Dts::Runtime::DtsObject, IDisposable, System::ComponentModel::IComponent
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Project : Microsoft.SqlServer.Dts.Runtime.DtsObject, IDisposable, System.ComponentModel.IComponent
type Project = class
    inherit DtsObject
    interface IComponent
    interface IDisposable
Public NotInheritable Class Project
Inherits DtsObject
Implements IComponent, IDisposable
Inheritance
Attributes
Implements

Properties

ConnectionManagerItems ConnectionManagerItems ConnectionManagerItems ConnectionManagerItems

Gets the connection manager items of the project. The connection managers are shared across all packages.

CreationDate CreationDate CreationDate CreationDate

Gets or sets the date and time that the project was created.

CreatorComputerName CreatorComputerName CreatorComputerName CreatorComputerName

Gets or sets the name of the computer on which the project was created.

CreatorName CreatorName CreatorName CreatorName

Gets or sets the name of the individual who created the project.

Description Description Description Description

Gets or sets the description of the Project object.

Events Events Events Events

Sets the IDTSEvents interface to get various events.

FormatVersion FormatVersion FormatVersion FormatVersion

Gets the format version of the project.

ID ID ID ID

Gets the project ID, which is GUID.

Name Name Name Name

Gets or sets the name of the project.

OfflineMode OfflineMode OfflineMode OfflineMode

Gets or sets a value that indicates whether the project is on offline mode.

PackageItems PackageItems PackageItems PackageItems

Gets the collection of the package items for the project.

Parameters Parameters Parameters Parameters

Gets the collection of the project parameters.

Password Password Password Password

Sets the password used to encrypt or decrypt project and packages.

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

Gets or sets the level of protection on the project.

Site Site Site Site

Gets or sets the ISite associated with the parameter object.

TargetServerVersion TargetServerVersion TargetServerVersion TargetServerVersion
VersionBuild VersionBuild VersionBuild VersionBuild

Gets or sets the build version of the project.

VersionComments VersionComments VersionComments VersionComments

Gets or sets the comments associated with the project.

VersionMajor VersionMajor VersionMajor VersionMajor

Gets or sets the major build version of the project.

VersionMinor VersionMinor VersionMinor VersionMinor

Gets or sets the minor build version of the project.

Methods

CreateProject() CreateProject() CreateProject() CreateProject()

Creates a new Integration Services project.

CreateProject(Stream) CreateProject(Stream) CreateProject(Stream) CreateProject(Stream)

Creates a new project on a given I/O stream.

CreateProject(String) CreateProject(String) CreateProject(String) CreateProject(String)

Creates a new project in the specified file.

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the current instance of the Project class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether two object instances are equal.

(Inherited from DtsObject)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for this instance.

(Inherited from DtsObject)
OpenProject(Stream) OpenProject(Stream) OpenProject(Stream) OpenProject(Stream)

Open a project from an IO stream.

OpenProject(Stream, IDTSEvents) OpenProject(Stream, IDTSEvents) OpenProject(Stream, IDTSEvents) OpenProject(Stream, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

OpenProject(Stream, Project+AccessMode, String, IDTSEvents) OpenProject(Stream, Project+AccessMode, String, IDTSEvents) OpenProject(Stream, Project+AccessMode, String, IDTSEvents) OpenProject(Stream, Project+AccessMode, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

OpenProject(Stream, String) OpenProject(Stream, String) OpenProject(Stream, String) OpenProject(Stream, String)

Open a password protected project in the specified path.

OpenProject(Stream, String, IDTSEvents) OpenProject(Stream, String, IDTSEvents) OpenProject(Stream, String, IDTSEvents) OpenProject(Stream, String, IDTSEvents)

Open a password protected project from an I/O stream, specifying an event listener to receive events.

OpenProject(String) OpenProject(String) OpenProject(String) OpenProject(String)

Open an existing project in the specified path.

OpenProject(String, IDTSEvents) OpenProject(String, IDTSEvents) OpenProject(String, IDTSEvents) OpenProject(String, IDTSEvents)

Open a project in the specified path, specifying an event listener to receive events.

OpenProject(String, Project+AccessMode, String, IDTSEvents) OpenProject(String, Project+AccessMode, String, IDTSEvents) OpenProject(String, Project+AccessMode, String, IDTSEvents) OpenProject(String, Project+AccessMode, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

OpenProject(String, String) OpenProject(String, String) OpenProject(String, String) OpenProject(String, String)

Open a password protected project in the specified path.

OpenProject(String, String, IDTSEvents) OpenProject(String, String, IDTSEvents) OpenProject(String, String, IDTSEvents) OpenProject(String, String, IDTSEvents)

Open a password protected project in the specified path, specifying an event listener to receive events.

Save() Save() Save() Save()

Saves the project to its corresponding storage. DtsException is thrown if the project doesn’t have corresponding storage.

SaveAs(Stream) SaveAs(Stream) SaveAs(Stream) SaveAs(Stream)

Save the project to the specified IO stream. The specified stream becomes the project storage.

SaveAs(String) SaveAs(String) SaveAs(String) SaveAs(String)

Save the project to the specified storage. The specified file becomes the storage for the project if saving successes.

SaveTo(Stream) SaveTo(Stream) SaveTo(Stream) SaveTo(Stream)

Save the project to the specified IO stream. Unlike SaveAs, project storage is not changed after saving.

SaveTo(String) SaveTo(String) SaveTo(String) SaveTo(String)

Save the project to the specified file. Unlike SaveAs, project storage is not changed after saving.

Events

Disposed Disposed Disposed Disposed

Occurs when the component is disposed by a call to the Dispose method.

Applies to