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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。