Compartir a través de


Clase Project

Represents Integration Services project which contains packages and parameters.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
<ComVisibleAttribute(True)> _
Public NotInheritable Class Project _
    Inherits DtsObject _
    Implements IComponent, IDisposable
'Uso
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

El tipo Project expone los siguientes miembros.

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método públicoMiembro estático CreateProject() Creates a new Integration Services project.
Método públicoMiembro estático CreateProject(Stream) Creates a new project on a given I/O stream.
Método públicoMiembro estático CreateProject(String) Creates a new project in the specified file.
Método público Dispose Releases all resources used by the current instance of the Project class.
Método público Equals Determines whether two object instances are equal. (Se hereda de DtsObject.)
Método público GetHashCode Returns the hash code for this instance. (Se hereda de DtsObject.)
Método público GetType (Se hereda de Object.)
Método públicoMiembro estático OpenProject(Stream) Opens a project from an I/O stream.
Método públicoMiembro estático OpenProject(String) Opens an existing project in the specified file.
Método públicoMiembro estático OpenProject(Stream, IDTSEvents) Opens a project from an I/O stream and specifies an event listener to receive events.
Método públicoMiembro estático OpenProject(Stream, String) Opens a password protected project from an I/O stream.
Método públicoMiembro estático OpenProject(String, IDTSEvents) Opens an existing project in the specified file.
Método públicoMiembro estático OpenProject(String, String) Opens an existing project with password in the specified file.
Método públicoMiembro estático OpenProject(Stream, String, IDTSEvents) Opens a password protected project from an I/O stream and specifies an event listener to receive events.
Método públicoMiembro estático OpenProject(String, String, IDTSEvents) Opens an existing project in the specified file.
Método públicoMiembro estático OpenProject(Stream, Project.AccessMode, String, IDTSEvents) Opens a password protected project from an I/O stream and specifies an event listener to receive events.
Método públicoMiembro estático OpenProject(String, Project.AccessMode, String, IDTSEvents) Opens a password protected project in the specified path and specifies an event listener to receive events.
Método público Save Saves the project to its corresponding storage. DtsException is thrown if the project doesn’t have corresponding storage.
Método público SaveAs(Stream) Saves the project to the specified I/O stream. The specified stream becomes the project storage.
Método público SaveAs(String) Saves the project to the specified storage. The specified file becomes the storage for the project if saving successes.
Método público SaveTo(Stream) Saves the project to the specified I/O stream. Unlike SaveAs, project storage is not changed after saving.
Método público SaveTo(String) Saves the project to the specified file. Unlike SaveAs, project storage is not changed after saving.
Método público ToString (Se hereda de Object.)

Arriba

Eventos

  Nombre Descripción
Evento público Disposed Occurs when the component is disposed by a call to the Dispose method.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime