Partager via


TapeLoadWaitTime Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The TapeLoadWaitTime property specifies the number of minutes a Microsoft SQL Server backup or restore operation waits when trying to write to or read from an indicated tape medium.

Syntaxe

object.TapeLoadWaitTime [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list.

  • value
    A long integer that specifies a number of minutes as described in Settings.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetTapeLoadWaitTime(LPLONG pRetVal)
HRESULT SetTapeLoadWaitTime(long NewValue)

Settings

Value

Description

-1

Default. A backup or restore operation does not time out.

0

A backup or restore operation attempts to access the tape device exactly one time.

Any positive integer

The number of minutes during which the backup or restore operation attempts to access the tape device.

Applies To: