Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.