Remove 方法 (IExtraSource)
Removes the specified miscellaneous file from the collection.
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
Public Function Remove ( _
miscellaneousFile As IExtraSource _
) As Boolean
'用途
Dim instance As MiscellaneousFilesCollection
Dim miscellaneousFile As IExtraSource
Dim returnValue As Boolean
returnValue = instance.Remove(miscellaneousFile)
public bool Remove(
IExtraSource miscellaneousFile
)
public:
bool Remove(
IExtraSource^ miscellaneousFile
)
member Remove :
miscellaneousFile:IExtraSource -> bool
public function Remove(
miscellaneousFile : IExtraSource
) : boolean
參數
- miscellaneousFile
型別:Microsoft.SqlServer.Management.Dac. . :: . .IExtraSource
An IExtraSource object that provides I/O stream access to the miscellaneous file to remove from the collection.
傳回值
型別:System. . :: . .Boolean
A Boolean value indicating whether the file was removed successfully. If true, the miscellaneousFile parameter was not null and the file was successfully removed. Otherwise, false.