Compartir a través de


LogFile.IsReadOnlyMedia Propiedad

Gets the Boolean value that specifies whether the log file is stored on read-only media.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsReadOnlyMedia As Boolean 
    Get
'Uso
Dim instance As LogFile 
Dim value As Boolean 

value = instance.IsReadOnlyMedia
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsReadOnlyMedia { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsReadOnlyMedia {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsReadOnlyMedia : bool
function get IsReadOnlyMedia () : boolean

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that specifies whether the log file is stored on read-only media.If True, the log file is stored on read-only media. Otherwise, False (default).

Comentarios

An example of read-only media is a non-writable CD-ROM.

Ejemplos

Utilizar grupos de archivos y archivos para almacenar datos

Vea también

Referencia

LogFile Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

CREATE DATABASE (Transact-SQL)