Bagikan melalui


PackageInfo Class

Represents a class for package information.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
    Microsoft.SqlServer.Management.IntegrationServices.PackageInfo

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

Syntax

'Declaration
<TypeConverterAttribute(GetType(LocalizableTypeConverter))> _
<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")> _
Public NotInheritable Class PackageInfo _
    Inherits SfcInstance _
    Implements ISfcAlterable, IAlterable, ISfcDiscoverObject
'Usage
Dim instance As PackageInfo
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")]
public sealed class PackageInfo : SfcInstance, 
    ISfcAlterable, IAlterable, ISfcDiscoverObject
[TypeConverterAttribute(typeof(LocalizableTypeConverter))]
[LocalizedPropertyResourcesAttribute(L"Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")]
public ref class PackageInfo sealed : public SfcInstance, 
    ISfcAlterable, IAlterable, ISfcDiscoverObject
[<SealedAttribute>]
[<TypeConverterAttribute(typeof(LocalizableTypeConverter))>]
[<LocalizedPropertyResourcesAttribute("Microsoft.SqlServer.Management.IntegrationServices.LocalizableResources")>]
type PackageInfo =  
    class 
        inherit SfcInstance 
        interface ISfcAlterable 
        interface IAlterable 
        interface ISfcDiscoverObject 
    end
public final class PackageInfo extends SfcInstance implements ISfcAlterable, IAlterable, ISfcDiscoverObject

The PackageInfo type exposes the following members.

Properties

  Name Description
Protected property AbstractIdentityKey (Inherited from SfcInstance.)
Public property Description Gets or sets the description of the package.
Public property EntryPoint Gets whether the package info is an entry point.
Public property IdentityKey Gets the identity key of the package.
Public property Metadata (Inherited from SfcInstance.)
Public property Name Gets or sets the name of the package.
Public property PackageId Gets the package identifier.
Public property Parameters Gets the parameters of the package.
Public property Parent Gets or sets the parent of the package.
Public property Properties (Inherited from SfcInstance.)
Protected property State (Inherited from SfcInstance.)
Public property Urn (Inherited from SfcInstance.)

Top

Methods

  Name Description
Public method Alter Alters the package in the back-end server.
Protected method CreateIdentityKey (Inherited from SfcInstance.)
Public method Discover (Inherited from SfcInstance.)
Public method Equals (Inherited from Object.)
Public method Execute(Boolean, EnvironmentReference) Executes a package with the specified reference.
Public method Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>) Executes a package with the specified reference and value parameters.
Public method Execute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>) Executes a package with the specified reference, value parameters and property override parameters.
Protected method GetChildCollection (Inherited from SfcInstance.)
Public method GetDomain (Inherited from SfcInstance.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetObjectFactory Retrieves the factory to create a new instance.
Public method GetPropertySet (Inherited from SfcInstance.)
Public method GetType (Inherited from Object.)
Protected method GetTypeMetadataImpl (Inherited from SfcInstance.)
Protected method InitializeUIPropertyState (Inherited from SfcInstance.)
Protected method OnPropertyMetadataChanges (Inherited from SfcInstance.)
Protected method OnPropertyValueChanges (Inherited from SfcInstance.)
Public method Refresh (Inherited from SfcInstance.)
Protected method ResetKey (Inherited from SfcInstance.)
Public method ScriptAlter Indicates a script to alter the project.
Public method ScriptExecute(Boolean, EnvironmentReference) Executes the package script using the specified reference.
Public method ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>) Executes the package script using the specified reference and value parameters.
Public method ScriptExecute(Boolean, EnvironmentReference, Collection<PackageInfo.ExecutionValueParameterSet>, Collection<PackageInfo.PropertyOverrideParameterSet>) Executes the package script using the specified reference, value parameters, and property override parameters.
Public method ScriptValidate Validates a specified package script.
Public method Serialize (Inherited from SfcInstance.)
Public method ToString (Inherited from SfcInstance.)
Public method Validate Validates a specified package.

Top

Events

  Name Description
Public event PropertyChanged (Inherited from SfcInstance.)
Public event PropertyMetadataChanged (Inherited from SfcInstance.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISfcDiscoverObject.Discover Specifies whether to discover children.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.IntegrationServices Namespace