MiscellaneousFilesCollection Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Class MiscellaneousFilesCollection _
    Implements IEnumerable(Of IExtraSource), IEnumerable
'Usage
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

The MiscellaneousFilesCollection type exposes the following members.

Constructors

  Name Description
Public method MiscellaneousFilesCollection Initializes a new, default instance of the MiscellaneousFilesCollection class.

Top

Properties

  Name Description
Public property DataSpaceAvailable Gets the amount of storage space available for the miscellaneous file collection.
Public property DataSpaceUsed Gets the amount of storage space used by the miscellaneous file collection.
Public property Item Gets the specified miscellaneous file from the MiscellaneousFilesCollection.

Top

Methods

  Name Description
Public method Add Adds the specified miscellaneous file to the MiscellaneousFilesCollection.
Public method Contains Determines whether the specified miscellaneous file is part of the MiscellaneousFilesCollection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(String) Removes the miscellaneous file with the specified name from the collection.
Public method Remove(IExtraSource) Removes the specified miscellaneous file from the collection.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.

Top

Remarks

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

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.Management.Dac Namespace