Share via


TSqlModelOptions.ReadOnly Property

Specifies the READ_ONLY | READ_WRITE database option.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public Property ReadOnly As Nullable(Of Boolean)
    Get 
    Set
'Usage
Dim instance As TSqlModelOptions 
Dim value As Nullable(Of Boolean)

value = instance.ReadOnly

instance.ReadOnly = value
public Nullable<bool> ReadOnly { get; set; }
public:
property Nullable<bool> ReadOnly {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
member ReadOnly : Nullable<bool> with get, set
function get ReadOnly () : Nullable<boolean>
function set ReadOnly (value : Nullable<boolean>)

Property Value

Type: System.Nullable<Boolean>

See Also

Reference

TSqlModelOptions Class

Microsoft.SqlServer.Dac.Model Namespace