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.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
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
)

Параметры

  • 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.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

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

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

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

Другие ресурсы

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