PartitionScheme PartitionScheme PartitionScheme Constructors

Definition

Overloads

PartitionScheme() PartitionScheme() PartitionScheme()

Initializes a new instance of the PartitionScheme class.

PartitionScheme(Database, String) PartitionScheme(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.

PartitionScheme() PartitionScheme() PartitionScheme()

Initializes a new instance of the PartitionScheme class.

public:
 PartitionScheme();
public PartitionScheme ();
Public Sub New ()

Examples

Using Filegroups and Files to Store Data

Remarks

The default constructor initializes any fields to their default values.

PartitionScheme(Database, String) PartitionScheme(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.

public:
 PartitionScheme(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public PartitionScheme (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

A Database object that specifies the database on which to create the partition scheme.

name
String String String

A String value that specifies the name of the partition scheme.

Examples

Using Filegroups and Files to Store Data

Applies to