共用方式為


Project 類別

Represents Integration Services project which contains packages and parameters.

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
<ComVisibleAttribute(True)> _
Public NotInheritable Class Project _
    Inherits DtsObject _
    Implements IComponent, IDisposable
'用途
Dim instance As Project
[ComVisibleAttribute(true)]
public sealed class Project : DtsObject, 
    IComponent, IDisposable
[ComVisibleAttribute(true)]
public ref class Project sealed : public DtsObject, 
    IComponent, IDisposable
[<SealedAttribute>]
[<ComVisibleAttribute(true)>]
type Project =  
    class 
        inherit DtsObject 
        interface IComponent 
        interface IDisposable 
    end
public final class Project extends DtsObject implements IComponent, IDisposable

Project 型別公開下列成員。

屬性

  名稱 說明
公用屬性 ConnectionManagerItems Gets the connection manager items of the project. The connection managers are shared across all packages.
公用屬性 CreationDate Gets or sets the date and time that the project was created.
公用屬性 CreatorComputerName Gets or sets the name of the computer on which the project was created.
公用屬性 CreatorName Gets or sets the name of the individual who created the project.
公用屬性 Description Gets or sets the description of the Project object.
公用屬性 Events Sets the IDTSEvents interface to get various events.
公用屬性 FormatVersion Gets the format version of the project.
公用屬性 ID Gets the project ID, which is GUID.
公用屬性 Name Gets or sets the name of the project.
公用屬性 OfflineMode Gets or sets a value that indicates whether the project is on offline mode.
公用屬性 PackageItems Gets the collection of the package items for the project.
公用屬性 Parameters Gets the collection of the project parameters.
公用屬性 Password Sets the password used to encrypt or decrypt project and packages.
公用屬性 ProtectionLevel Gets or sets the level of protection on the project.
公用屬性 Site Gets or sets the ISite associated with the parameter object.
公用屬性 VersionBuild Gets or sets the build version of the project.
公用屬性 VersionComments Gets or sets the comments associated with the project.
公用屬性 VersionMajor Gets or sets the major build version of the project.
公用屬性 VersionMinor Gets or sets the minor build version of the project.

上層

方法

  名稱 說明
公用方法靜態成員 CreateProject() Creates a new Integration Services project.
公用方法靜態成員 CreateProject(Stream) Creates a new project on a given I/O stream.
公用方法靜態成員 CreateProject(String) Creates a new project in the specified file.
公用方法 Dispose Releases all resources used by the current instance of the Project class.
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
公用方法靜態成員 OpenProject(Stream) Opens a project from an I/O stream.
公用方法靜態成員 OpenProject(String) Opens an existing project in the specified file.
公用方法靜態成員 OpenProject(Stream, IDTSEvents) Opens a project from an I/O stream and specifies an event listener to receive events.
公用方法靜態成員 OpenProject(Stream, String) Opens a password protected project from an I/O stream.
公用方法靜態成員 OpenProject(String, IDTSEvents) Opens an existing project in the specified file.
公用方法靜態成員 OpenProject(String, String) Opens an existing project with password in the specified file.
公用方法靜態成員 OpenProject(Stream, String, IDTSEvents) Opens a password protected project from an I/O stream and specifies an event listener to receive events.
公用方法靜態成員 OpenProject(String, String, IDTSEvents) Opens an existing project in the specified file.
公用方法靜態成員 OpenProject(Stream, Project.AccessMode, String, IDTSEvents) Opens a password protected project from an I/O stream and specifies an event listener to receive events.
公用方法靜態成員 OpenProject(String, Project.AccessMode, String, IDTSEvents) Opens a password protected project in the specified path and specifies an event listener to receive events.
公用方法 Save Saves the project to its corresponding storage. DtsException is thrown if the project doesn’t have corresponding storage.
公用方法 SaveAs(Stream) Saves the project to the specified I/O stream. The specified stream becomes the project storage.
公用方法 SaveAs(String) Saves the project to the specified storage. The specified file becomes the storage for the project if saving successes.
公用方法 SaveTo(Stream) Saves the project to the specified I/O stream. Unlike SaveAs, project storage is not changed after saving.
公用方法 SaveTo(String) Saves the project to the specified file. Unlike SaveAs, project storage is not changed after saving.
公用方法 ToString (繼承自 Object。)

上層

事件

  名稱 說明
公用事件 Disposed Occurs when the component is disposed by a call to the Dispose method.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間