SkipTapeHeader Property (SQL-DMO)

The SkipTapeHeader property enables or disables backup operation logic that verifies that correct media is loaded.

Applies To

Backup Object

Syntax

object.SkipTapeHeader [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, a media name recorded on the media is not checked. The backup set is appended to the media.

If False (default), a recorded media name is checked. When using SQL-DMO to perform a backup, provide the media name by using the MediaName property.


Note SQL-DMO implements backup media initialization by using the Initialize property. When Initialize is True, SkipTapeHeader enables or disables logic that prevents overwrite of unexpired backup sets on a media. For more information, see BACKUP.


Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetSkipTapeHeader(LPBOOL pRetVal);

HRESULT SetSkipTapeHeader(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.