ExtendOnDevices Method

SQLServer.Database Object

Description

Increases the amount of storage space allocated to a database. The existing database storage space is extended to include available space on database devices.

Visual Basic

Database.ExtendOnDevices ( [DeviceNames :=] strDevices )

C++

HRESULT pDatabase->ExtendOnDevices ( SQLOLE_LPCSTR strDevices );

Elements

Element Type Description

strDevices String Comma delimited list of one or more database device usage specifiers. Each usage specifier consists of the database device name, an equal sign, and a size in megabytes.

Reference

ALTER DATABASE