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