PartitionScheme.FileGroups Property

Represents a collection of FileGroup objects. Each FileGroup object represents a filegroup defined on the database.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property FileGroups As StringCollection 
    Get
'Usage
Dim instance As PartitionScheme 
Dim value As StringCollection 

value = instance.FileGroups
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public StringCollection FileGroups { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property StringCollection^ FileGroups {
    StringCollection^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FileGroups : StringCollection
function get FileGroups () : StringCollection

Property Value

Type: System.Collections.Specialized.StringCollection
A FileGroupCollection object that represents all the filegroups on the database.

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionScheme Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION SCHEME (Transact-SQL)