Share via


MiscellaneousFilesCollection.Remove Method (String)

Removes the miscellaneous file with the specified name from the collection.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Function Remove ( _
    miscellaneousFileName As String _
) As Boolean
'Usage
Dim instance As MiscellaneousFilesCollection
Dim miscellaneousFileName As String
Dim returnValue As Boolean

returnValue = instance.Remove(miscellaneousFileName)
public bool Remove(
    string miscellaneousFileName
)
public:
bool Remove(
    String^ miscellaneousFileName
)
member Remove : 
        miscellaneousFileName:string -> bool 
public function Remove(
    miscellaneousFileName : String
) : boolean

Parameters

  • miscellaneousFileName
    Type: System.String
    A String value that specifies the name of the miscellaneous file to remove.

Return Value

Type: System.Boolean
A Boolean value indicating whether the file was removed successfully. If true, the miscellaneousFileName parameter was not null and the file was successfully removed. Otherwise, false.