Compartir a través de


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.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    database As Database, _
    name As String _
)
public PartitionScheme (
    Database database,
    string name
)
public:
PartitionScheme (
    Database^ database, 
    String^ name
)
public PartitionScheme (
    Database database, 
    String name
)
public function PartitionScheme (
    database : Database, 
    name : String
)

Parámetros

  • database
    A Database object that specifies the database on which to create the partition scheme.
  • name
    A String value that specifies the name of the partition scheme.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Set Up a Partition Scheme for a Table in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

PartitionScheme Class
PartitionScheme Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Using Table and Index Partitioning
CREATE PARTITION SCHEME (Transact-SQL)