UndedicateLogDevices Method

SQLServer.Database.TransactionLog Object

Description

Marks database devices as usable for both data and transaction log information. This method can only be used on the TransactionLog of a newly created Database object before the Database is added to the SQLServer.Databases collection.

Visual Basic

TransactionLog.UndedicateLogDevices ( [DeviceNames :=] mstrDevices )

C++

HRESULT pTransactionLog->UndedicateLogDevices ( SQLOLE_LPCSTR mstrDevices );

Elements

Element Type Description

mstrDevices MultiString Delimited list of one or more database device usage specifiers. Each usage specifier consists of either the database device name alone, or the database device name, an equal sign, and a size in megabytes.