共用方式為


BackupSet.IsReadOnly 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property IsReadOnly As Boolean 
    Get
'用途
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

屬性值

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

請參閱

參考

BackupSet 類別

Microsoft.SqlServer.Management.Smo 命名空間