Partager via


MiscellaneousFilesCollection.Remove Method ()

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

'Déclaration
Public Function Remove ( _
    miscellaneousFileName As String _
) As Boolean
'Utilisation
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: String
    A String value that specifies the name of the miscellaneous file to remove.

Return Value

Type: 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.

See Also

Reference

MiscellaneousFilesCollection Class

Remove Overload

Microsoft.SqlServer.Management.Dac Namespace