ReadOnly Property

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

The ReadOnly property controls the ability to update a Microsoft SQL Server database or database filegroup.

Sintaxis

object
.ReadOnly [= 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 GetReadOnly(LPBOOL pRetVal);
HRESULT SetReadOnly(BOOL NewValue);

Notas

If TRUE, data in the database or database filegroup cannot be changed.

If FALSE, updates to data are allowed in the database or database filegroup.

Applies To:

DBOption Object

FileGroup Object