Export (0) Print
Expand All

LogFile Properties

The LogFile type exposes the following members.

  Name Description
Public property BytesReadFromDisk Gets the number of bytes read from disk.
Public property BytesWrittenToDisk Gets the number of bytes written to disk.
Public property FileName Gets or sets the file name of the log file.
Public property FileSegments Gets the collection of file segments. (Inherited from DatabaseFile.)
Public property Growth Gets or sets the growth increment for the log file in KB or percent.
Public property GrowthType Gets or sets the growth type for the data file in KB or percent.
Public property ID Gets the ID value that uniquely identifies the log file.
Public property IsOffline Gets the Boolean value that specifies whether the log file is offline or not.
Public property IsReadOnly Gets the Boolean value that specifies whether the log file is read-only or can be updated.
Public property IsReadOnlyMedia Gets the Boolean value that specifies whether the log file is stored on read-only media.
Public property IsSparse Gets the Boolean value that specifies whether the file is a sparse file. Sparse files are used in database snapshots.
Public property MaxSize Gets or set the maximum size to which the file can grow, in MB.
Public property Name Gets or sets the name of the object. (Inherited from NamedSmoObject.)
Public property NumberOfDiskReads Gets an Int64 value that specifies the number of disk reads.
Public property NumberOfDiskWrites Gets an Int64 value that specifies the number of disk writes.
Public property Parent Gets or sets the Database object that is the parent of the LogFile object.
Public property Properties Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.)
Public property Size Gets or sets the current size of the log file, in KB.
Public property State Gets the state of the referenced object. (Inherited from SmoObjectBase.)
Public property Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.)
Public property UsedSpace Gets the amount of used space in the log file in KB.
Public property UserData Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)
Public property VolumeFreeSpace Gets an Int64 value that specifies the volume free space in bytes.
Top

  Name Description
Explicit interface implemetation Private property ISfcSupportsDesignMode.IsDesignMode Gets a Boolean value that specifies whether the object supports design mode.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft