FileGroupCollection.Remove Method (FileGroup)
Removes a FileGroup object from the FileGroupCollection collection by specifying the object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
fileGroup As FileGroup _
)
'Usage
Dim instance As FileGroupCollection
Dim fileGroup As FileGroup
instance.Remove(fileGroup)
public void Remove(
FileGroup fileGroup
)
public:
void Remove(
FileGroup^ fileGroup
)
member Remove :
fileGroup:FileGroup -> unit
public function Remove(
fileGroup : FileGroup
)
Parameters
- fileGroup
Type: Microsoft.SqlServer.Management.Smo.FileGroup
A FileGroup object that specifies the filegroup to remove from the FileGroupCollection object.