BeginAlter Method

SQLServer.Database.Publication Object

Description

Marks the start of a single unit of changes to Publication properties. Normally, each change to a single property is a separate 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

Publication.BeginAlter

C++

HRESULT pPublication->BeginAlter ( );