Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Project Class

SQL Server 2012

Represents Integration Services project which contains packages and parameters.

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Project

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
[ComVisibleAttribute(true)]
public sealed class Project : DtsObject, 
	IComponent, IDisposable

The Project type exposes the following members.

  NameDescription
Public propertyConnectionManagerItemsGets the connection manager items of the project. The connection managers are shared across all packages.
Public propertyCreationDateGets or sets the date and time that the project was created.
Public propertyCreatorComputerNameGets or sets the name of the computer on which the project was created.
Public propertyCreatorNameGets or sets the name of the individual who created the project.
Public propertyDescriptionGets or sets the description of the Project object.
Public propertyEventsSets the IDTSEvents interface to get various events.
Public propertyFormatVersionGets the format version of the project.
Public propertyIDGets the project ID, which is GUID.
Public propertyNameGets or sets the name of the project.
Public propertyOfflineModeGets or sets a value that indicates whether the project is on offline mode.
Public propertyPackageItemsGets the collection of the package items for the project.
Public propertyParametersGets the collection of the project parameters.
Public propertyPasswordSets the password used to encrypt or decrypt project and packages.
Public propertyProtectionLevelGets or sets the level of protection on the project.
Public propertySiteGets or sets the ISite associated with the parameter object.
Public propertyVersionBuildGets or sets the build version of the project.
Public propertyVersionCommentsGets or sets the comments associated with the project.
Public propertyVersionMajorGets or sets the major build version of the project.
Public propertyVersionMinorGets or sets the minor build version of the project.
Top
  NameDescription
Public methodStatic memberCreateProject()Creates a new Integration Services project.
Public methodStatic memberCreateProject(Stream)Creates a new project on a given I/O stream.
Public methodStatic memberCreateProject(String)Creates a new project in the specified file.
Public methodDisposeReleases all resources used by the current instance of the Project class.
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberOpenProject(Stream)Opens a project from an I/O stream.
Public methodStatic memberOpenProject(String)Opens an existing project in the specified file.
Public methodStatic memberOpenProject(Stream, IDTSEvents)Opens a project from an I/O stream and specifies an event listener to receive events.
Public methodStatic memberOpenProject(Stream, String)Opens a password protected project from an I/O stream.
Public methodStatic memberOpenProject(String, IDTSEvents)Opens an existing project in the specified file.
Public methodStatic memberOpenProject(String, String)Opens an existing project with password in the specified file.
Public methodStatic memberOpenProject(Stream, String, IDTSEvents)Opens a password protected project from an I/O stream and specifies an event listener to receive events.
Public methodStatic memberOpenProject(String, String, IDTSEvents)Opens an existing project in the specified file.
Public methodStatic memberOpenProject(Stream, Project.AccessMode, String, IDTSEvents)Opens a password protected project from an I/O stream and specifies an event listener to receive events.
Public methodStatic memberOpenProject(String, Project.AccessMode, String, IDTSEvents)Opens a password protected project in the specified path and specifies an event listener to receive events.
Public methodSaveSaves the project to its corresponding storage. DtsException is thrown if the project doesn’t have corresponding storage.
Public methodSaveAs(Stream)Saves the project to the specified I/O stream. The specified stream becomes the project storage.
Public methodSaveAs(String)Saves the project to the specified storage. The specified file becomes the storage for the project if saving successes.
Public methodSaveTo(Stream)Saves the project to the specified I/O stream. Unlike SaveAs, project storage is not changed after saving.
Public methodSaveTo(String)Saves the project to the specified file. Unlike SaveAs, project storage is not changed after saving.
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.