共用方式為


StorageInfo Class

Definition

Provides information about the storage location for either the original or the upgraded Integration Services packages.

public ref class StorageInfo
public class StorageInfo
type StorageInfo = class
Public Class StorageInfo
Inheritance
StorageInfo

Remarks

One StorageInfo object for the original packages and one StorageInfo object for the upgraded packages is passed to the Upgrade method. For a code example that demonstrates how to upgrade packages, see the Upgrade method.

Properties

Host

Gets the name of the server on which either the original or the upgraded Integration Services packages are stored.

RootFolder

Gets or sets the path for the folder that contains the subfolder to which Integration Services will back up the original packages before upgrading them.

ServerPassword

Gets the password that SQL Server authentication requires to connect to the SQL Server database that stores the original or the upgraded packages.

Type

Gets the type of storage that is used for either the original Integration Services packages or the upgraded packages.

Username

Gets the user name that SQL Server authentication requires to connect to the SQL Server database that stores either the original or upgraded Integration Services packages.

Methods

EnumeratePackagePaths()

Returns a list of paths for the upgraded packages in a given folder.

NewFileStorage()

Creates a new location on the file system in which the original or the upgraded Integration Services packages will be stored.

NewServerStorage(String)

Creates a new Integration Services package store in which the original or the upgraded Integration Services packages.

NewSqlStorage(String, String, String)

Creates a new Microsoft SQL Server database in which the original or the upgraded packages will be stored.

Applies to