StorageInfo 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public Class StorageInfo
用法
Dim instance As StorageInfo
public class StorageInfo
public ref class StorageInfo
type StorageInfo =  class end
public class StorageInfo

StorageInfo 类型公开以下成员。

属性

  名称 说明
公共属性 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 Integration Services 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 Integration Services 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.

页首

方法

  名称 说明
公共方法 EnumeratePackagePaths Returns a list of paths for the upgraded Integration Services packages in a given folder.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法静态成员 NewFileStorage Creates a new location on the file system in which the original or the upgraded packages will be stored.
公共方法静态成员 NewServerStorage Creates a new Integration Services package store in which the original or the upgraded Integration Services packages.
公共方法静态成员 NewSqlStorage Creates a new Microsoft SQL Server database in which the original or the upgraded Integration Services packages will be stored.
公共方法 ToString (从 Object 继承。)

页首

注释

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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。