BeginAlter Method

SQLServer.Executive Object

Description

Marks the start of a single unit of changes to Executive properties. Normally, each change to a single property is a seperate update to SQL Server. To group multiple property changes into a single unit, first call the BeginAlter method, then make the desired property changes. To commit the unit of property changes to SQL Server using a single update, call the DoAlter method. To cancel the unit of property changes (made since calling BeginAlter), call the CancelAlter method.

Visual Basic

Executive.BeginAlter

C++

HRESULT pExecutive->BeginAlter ( );