Share via


PartitionScheme.NextUsedFileGroup Property

Gets or sets the name of the filegroup that has NEXT USED status.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property NextUsedFileGroup As String 
    Get 
    Set
'Usage
Dim instance As PartitionScheme 
Dim value As String 

value = instance.NextUsedFileGroup

instance.NextUsedFileGroup = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string NextUsedFileGroup { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ NextUsedFileGroup {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NextUsedFileGroup : string with get, set
function get NextUsedFileGroup () : String 
function set NextUsedFileGroup (value : String)

Property Value

Type: System.String
A String value that specifies the filegroup name.

Remarks

Returns an empty string if no filegroup has NEXT USED status.

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)