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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。