Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PartitionScheme Constructor (Database, String)
Collapse the table of content
Expand the table of content

PartitionScheme Constructor (Database, String)

Initializes a new instance of the PartitionScheme class, and sets the name of the partition scheme and the database to which it belongs.

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

public PartitionScheme(
	Database database,
	string name


Type: Microsoft.SqlServer.Management.Smo.Database
A Database object that specifies the database on which to create the partition scheme.
Type: String
A String value that specifies the name of the partition scheme.

Community Additions

© 2015 Microsoft