共用方式為


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 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間