StorageInfo Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dts.Runtime.StorageInfo

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Class StorageInfo
'Usage
Dim instance As StorageInfo
public class StorageInfo
public ref class StorageInfo
type StorageInfo =  class end
public class StorageInfo

The StorageInfo type exposes the following members.

Properties

  Name Description
Public property Host Gets the name of the server on which either the original or the upgraded Integration Services packages are stored.
Public property RootFolder Gets or sets the path for the folder that contains the subfolder to which Integration Services will back up the original Integration Services packages before upgrading them.
Public property ServerPassword Gets the password that SQL Server authentication requires to connect to the SQL Server database that stores the original or the upgraded Integration Services packages.
Public property Type Gets the type of storage that is used for either the original Integration Services packages or the upgraded packages.
Public property 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.

Top

Methods

  Name Description
Public method EnumeratePackagePaths Returns a list of paths for the upgraded Integration Services packages in a given folder.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member NewFileStorage Creates a new location on the file system in which the original or the upgraded packages will be stored.
Public methodStatic member NewServerStorage Creates a new Integration Services package store in which the original or the upgraded packages.
Public methodStatic member NewSqlStorage Creates a new Microsoft SQL Server database in which the original or the upgraded Integration Services packages will be stored.
Public method ToString (Inherited from Object.)

Top

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.

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.Dts.Runtime Namespace