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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。