Поделиться через


Класс MiscellaneousFilesCollection

The MiscellaneousFilesCollection class contains a collection of files to be added to the DAC package.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..MiscellaneousFilesCollection

Пространство имен:  Microsoft.SqlServer.Management.Dac
Сборка:  Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)

Синтаксис

'Декларация
Public Class MiscellaneousFilesCollection _
    Implements IEnumerable(Of IExtraSource), IEnumerable
'Применение
Dim instance As MiscellaneousFilesCollection
public class MiscellaneousFilesCollection : IEnumerable<IExtraSource>, 
    IEnumerable
public ref class MiscellaneousFilesCollection : IEnumerable<IExtraSource^>, 
    IEnumerable
type MiscellaneousFilesCollection =  
    class
        interface IEnumerable<IExtraSource>
        interface IEnumerable
    end
public class MiscellaneousFilesCollection implements IEnumerable<IExtraSource>, IEnumerable

Тип MiscellaneousFilesCollection обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод MiscellaneousFilesCollection Initializes a new, default instance of the MiscellaneousFilesCollection class.

В начало

Свойства

  Имя Описание
Открытое свойство DataSpaceAvailable Gets the amount of storage space available for the miscellaneous file collection.
Открытое свойство DataSpaceUsed Gets the amount of storage space used by the miscellaneous file collection.
Открытое свойство Item Gets the specified miscellaneous file from the MiscellaneousFilesCollection.

В начало

Методы

  Имя Описание
Открытый метод Add Adds the specified miscellaneous file to the MiscellaneousFilesCollection.
Открытый метод Contains Determines whether the specified miscellaneous file is part of the MiscellaneousFilesCollection.
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод Remove(String) Removes the miscellaneous file with the specified name from the collection.
Открытый метод Remove(IExtraSource) Removes the specified miscellaneous file from the collection.
Открытый метод ToString (Производный от Object.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IEnumerable. . :: . .GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.

В начало

Замечания

The miscellaneous files are attached to the package to be associated with the database package. This could be documentation files for example.

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

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