Bagikan melalui


BackupSet.IsReadOnly Property

Gets a value that indicates whether the database was read-only at the time of backup.

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

Syntax

'Declaration
Public ReadOnly Property IsReadOnly As Boolean 
    Get
'Usage
Dim instance As BackupSet 
Dim value As Boolean 

value = instance.IsReadOnly
public bool IsReadOnly { get; }
public:
property bool IsReadOnly {
    bool get ();
}
member IsReadOnly : bool
function get IsReadOnly () : boolean

Property Value

Type: System.Boolean
true if this instance is read only; otherwise, false.

See Also

Reference

BackupSet Class

Microsoft.SqlServer.Management.Smo Namespace