PartitionFunction PartitionFunction PartitionFunction Constructors

Definition

Overloads

PartitionFunction() PartitionFunction() PartitionFunction()

Initializes a new instance of the PartitionFunction class.

PartitionFunction(Database, String) PartitionFunction(Database, String)

Initializes a new instance of the PartitionFunction class for the specified database and with the specified name.

PartitionFunction() PartitionFunction() PartitionFunction()

Initializes a new instance of the PartitionFunction class.

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

Examples

Using Filegroups and Files to Store Data

Remarks

The default constructor initializes any fields to their default values.

PartitionFunction(Database, String) PartitionFunction(Database, String)

Initializes a new instance of the PartitionFunction class for the specified database and with the specified name.

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

A Database object that specifies the database containing the partition function.

name
String String String

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

Examples

Using Filegroups and Files to Store Data

Applies to