LogFile.IsReadOnly Property
SQL Server 2012
Gets the Boolean value that specifies whether the log file is read-only or can be updated.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
