Интерфейс Package
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
For more information, see PackageClass.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка: Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)
Синтаксис
'Декларация
<GuidAttribute("BC427598-5FAD-4ECB-B6F4-30C3A147B16D")> _
Public Interface Package _
Inherits IDTSPackage100
'Применение
Dim instance As Package
[GuidAttribute("BC427598-5FAD-4ECB-B6F4-30C3A147B16D")]
public interface Package : IDTSPackage100
[GuidAttribute(L"BC427598-5FAD-4ECB-B6F4-30C3A147B16D")]
public interface class Package : IDTSPackage100
[<GuidAttribute("BC427598-5FAD-4ECB-B6F4-30C3A147B16D")>]
type Package =
interface
interface IDTSPackage100
end
public interface Package extends IDTSPackage100
Тип Package обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
CertificateContext | Инфраструктура. Gets or sets the certificate context. (Производный от IDTSPackage100.) | |
CertificateObject | Инфраструктура. Gets or sets the certificate package for the package. (Производный от IDTSPackage100.) | |
CheckpointFileName | Инфраструктура. Gets or sets the name of the file that captures the checkpoint information, which enables a package to restart. (Производный от IDTSPackage100.) | |
CheckpointUsage | Инфраструктура. Gets or sets a value that specifies if or when a package is restarted. (Производный от IDTSPackage100.) | |
CheckSignatureOnLoad | Инфраструктура. Gets or sets a value that indicates whether the digital signature is checked when a package is loaded from XML. (Производный от IDTSPackage100.) | |
Configurations | Инфраструктура. Gets the collection of configurations for the package. (Производный от IDTSPackage100.) | |
Connections | Инфраструктура. Gets the collection of connection managers for the package. (Производный от IDTSPackage100.) | |
CreationDate | Инфраструктура. Gets or sets the date and time that the package was created. (Производный от IDTSPackage100.) | |
CreatorComputerName | Инфраструктура. Gets or sets the name of the computer on which the package was created. (Производный от IDTSPackage100.) | |
CreatorName | Инфраструктура. Gets or sets the name of the individual who created the package. (Производный от IDTSPackage100.) | |
DesignEvents | Инфраструктура. Gets or sets the IDTSEvents100 that indicates if the designer or other third-party client is to receive events during design time. (Производный от IDTSPackage100.) | |
DesignTimeProperties | Инфраструктура. Gets or sets the design time properties of a package. (Производный от IDTSPackage100.) | |
EnableConfigurations | Инфраструктура. Gets or sets a value that indicates whether the package loads configurations. (Производный от IDTSPackage100.) | |
EncryptCheckpoints | Инфраструктура. Gets or sets a value that indicates whether checkpoint files are encrypted. (Производный от IDTSPackage100.) | |
Errors | Инфраструктура. Gets the collection of errors associated with the package. (Производный от IDTSPackage100.) | |
ExtendedProperties | Инфраструктура. Gets the IDTSExtendedProperties100 collection for the package. (Производный от IDTSPackage100.) | |
InteractiveMode | Инфраструктура. Gets or sets a value that indicates whether tasks should show user interface objects while executing. (Производный от IDTSPackage100.) | |
LastModifiedProductVersion | Инфраструктура. Gets the version of the package that is last modified. (Производный от IDTSPackage100.) | |
LogProviders | Инфраструктура. Returns the collection of log providers associated with the package. (Производный от IDTSPackage100.) | |
MaxConcurrentExecutables | Инфраструктура. Gets or sets the number of threads that a package can create. (Производный от IDTSPackage100.) | |
OfflineMode | Инфраструктура. Gets or sets a value that indicates whether the package is working in offline mode. (Производный от IDTSPackage100.) | |
PackageFormatVersion | Инфраструктура. Gets the format version of the package. (Производный от IDTSPackage100.) | |
PackageLocation | Инфраструктура. Gets or sets a string that contains the location of the package. (Производный от IDTSPackage100.) | |
PackagePassword | Инфраструктура. Sets the password for the package. (Производный от IDTSPackage100.) | |
PackagePriorityClass | Инфраструктура. Gets or sets the priority class of the package. (Производный от IDTSPackage100.) | |
PackageType | Инфраструктура. Gets or sets the package type. (Производный от IDTSPackage100.) | |
PackageUpgradeOptions | Инфраструктура. Gets or sets the package upgrade options. (Производный от IDTSPackage100.) | |
ProtectionLevel | Инфраструктура. Gets or sets the level of protection on the package. (Производный от IDTSPackage100.) | |
SafeRecursiveProjectPackageExecution | Инфраструктура. Gets or sets a value that indicates whether the package execution is a safe recursive project. (Производный от IDTSPackage100.) | |
SaveCheckpoints | Инфраструктура. Gets or sets a value that indicates whether the package will use checkpoints during package execution. (Производный от IDTSPackage100.) | |
SQLFolder | Инфраструктура. Gets or sets the package folder name. (Производный от IDTSPackage100.) | |
SuppressConfigurationWarnings | Инфраструктура. Gets or sets a value that indicates whether the warnings generated by configurations are suppressed. (Производный от IDTSPackage100.) | |
UpdateObjects | Инфраструктура. Gets or sets a value that indicates whether extensible objects can be updated at package load time if an updated version if found. (Производный от IDTSPackage100.) | |
UpdatePackage | Инфраструктура. Gets or sets a value that indicates whether packages can be updated when an updated version is found. (Производный от IDTSPackage100.) | |
VersionBuild | Инфраструктура. Gets or sets the build version of the package. (Производный от IDTSPackage100.) | |
VersionComments | Инфраструктура. Gets or sets the comments associated with the package. (Производный от IDTSPackage100.) | |
VersionGUID | Инфраструктура. Gets a unique GUID generated when the package is first created. (Производный от IDTSPackage100.) | |
VersionMajor | Инфраструктура. Gets or sets the major build version of the package. (Производный от IDTSPackage100.) | |
VersionMinor | Инфраструктура. Gets or sets the minor build version of the package. (Производный от IDTSPackage100.) | |
Warnings | Инфраструктура. Gets a collection of warnings set on the package. (Производный от IDTSPackage100.) |
В начало
Методы
Имя | Описание | |
---|---|---|
CheckSignature | Инфраструктура. Checks the status of the digital signature of the package. (Производный от IDTSPackage100.) | |
Execute() | Инфраструктура. Returns a DTSExecResult enumeration that contains information about the success or failure of the package execution. (Производный от IDTSPackage100.) | |
Execute(IDTSConnections100, IDTSVariables100, IDTSEvents100, IDTSLogging100, Object) | Инфраструктура. Runs the application, container, or package as part of a package workflow. (Производный от IDTSPackage100.) | |
ExportConfigurationFile | Инфраструктура. Creates an XML file that contains all deployable variables in the package. (Производный от IDTSPackage100.) | |
FindReferencedObjects | Инфраструктура. Returns a reference object enumeration. (Производный от IDTSPackage100.) | |
GetBreakpointTargets | Инфраструктура. Returns IDTSBreakpointTargets100 collection. (Производный от IDTSPackage100.) | |
GetObjectFromPackagePath | Инфраструктура. Returns a package property and the object from the specified package path. (Производный от IDTSPackage100.) | |
GetPreExecutionPackageXML | Инфраструктура. Gets a pre-execution package XML. (Производный от IDTSPackage100.) | |
ImportConfigurationFile | Инфраструктура. Loads a configuration file associated with the package. (Производный от IDTSPackage100.) | |
LoadUserCertificateByHash | Инфраструктура. Loads the certificate for the package according to the certificate hash. (Производный от IDTSPackage100.) | |
LoadUserCertificateByName | Инфраструктура. Loads the certificate for the package according to the certificate name. (Производный от IDTSPackage100.) | |
PermitUnencryptedSave | Инфраструктура. Specifies the unencrypted permit. (Производный от IDTSPackage100.) | |
ProcessConfiguration | Инфраструктура. Sets configuration information for a package and its objects. (Производный от IDTSPackage100.) | |
Validate | Инфраструктура. Allows the container to determine if it contains invalid settings that will prevent it from executing successfully. (Производный от IDTSPackage100.) |
В начало