PartitionFunction Constructor (Database, String)

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

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

Синтаксис

'Декларация
Public Sub New ( _
    database As Database, _
    name As String _
)
public PartitionFunction (
    Database database,
    string name
)
public:
PartitionFunction (
    Database^ database, 
    String^ name
)
public PartitionFunction (
    Database database, 
    String name
)
public function PartitionFunction (
    database : Database, 
    name : String
)

Параметры

  • database
    A Database object that specifies the database containing the partition function.
  • name
    A String value that specifies the name of the partition function.

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой 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.

См. также

Справочник

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

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

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