Udostępnij przez


DataFile.IsReadOnly Property

Gets the Boolean property value that specifies whether the data file is read-only or can be updated.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property IsReadOnly As Boolean
[SfcPropertyAttribute] 
public bool IsReadOnly { get; }
[SfcPropertyAttribute] 
public:
property bool IsReadOnly {
    bool get ();
}
/** @property */
public boolean get_IsReadOnly ()
public function get IsReadOnly () : boolean

Property Value

A Boolean value that specifies whether the data file is read-only or can be updated. If True, the data file is read-only. Otherwise, False (default).

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.