Partager via


Classe MiscellaneousFilesCollection

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Class MiscellaneousFilesCollection _
    Implements IEnumerable(Of IExtraSource), IEnumerable
'Utilisation
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

Le type MiscellaneousFilesCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique MiscellaneousFilesCollection Initializes a new, default instance of the MiscellaneousFilesCollection class.

Haut de la page

Propriétés

  Nom Description
Propriété publique DataSpaceAvailable Gets the amount of storage space available for the miscellaneous file collection.
Propriété publique DataSpaceUsed Gets the amount of storage space used by the miscellaneous file collection.
Propriété publique Item Gets the specified miscellaneous file from the MiscellaneousFilesCollection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add Adds the specified miscellaneous file to the MiscellaneousFilesCollection.
Méthode publique Contains Determines whether the specified miscellaneous file is part of the MiscellaneousFilesCollection.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove(String) Removes the miscellaneous file with the specified name from the collection.
Méthode publique Remove(IExtraSource) Removes the specified miscellaneous file from the collection.
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IEnumerable. . :: . .GetEnumerator Returns an enumerator for use in enumerating over the MiscellaneousFilesCollection.

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.