Share via


FileGroupCollection.Remove Method (String)

Removes a FileGroup object from the FileGroupCollection collection by specifying the name of the filegroup.

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

Syntax

'Declaration
Public Sub Remove ( _
    name As String _
)
'Usage
Dim instance As FileGroupCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)
public:
void Remove(
    String^ name
)
member Remove : 
        name:string -> unit 
public function Remove(
    name : String
)

Parameters