NoRewind Property

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The NoRewind property specifies whether Microsoft SQL Server keeps a tape drive open and positioned after a backup or restore operation.

語法

object
.NoRewind [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetNoRewind(BOOL);
HRESULT SetNoRewind(BOOL);

備註

If NoRewind is set to TRUE, SQL Distributed Management Objects (SQL-DMO) issues the Transaction-SQL BACKUP or RESTORE command with the NOREWIND option. This allows SQL Server 2000 to keep a tape drive open and positioned, thereby preventing the overhead of rewinding and scanning a tape. This is useful in situations where a tape is repeatedly used. NoRewind is set to FALSE by default.

ms136916.note(zh-tw,SQL.90).gif附註:
If an application calls NoRewind on an instance of SQL Server version 7.0, the operation is ignored.

Applies To:

Backup2 Object

Restore2 Object

請參閱

其他資源

BACKUP (Transact-SQL)
RESTORE (Transact-SQL)

說明及資訊

取得 SQL Server 2005 協助