Bagikan melalui


PartitionScheme.ResetNextUsed Method

Resets the NEXT USED status of the partition scheme that has been marked as NEXT USED.

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

Syntax

'Declaration
Public Sub ResetNextUsed
'Usage
Dim instance As PartitionScheme

instance.ResetNextUsed()
public void ResetNextUsed()
public:
void ResetNextUsed()
member ResetNextUsed : unit -> unit
public function ResetNextUsed()

Remarks

If no partition scheme has been marked as NEXT USED, no action will be taken. This method can only be used on an existing partition scheme.

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)