Dela via


DataFile.NumberOfDiskWrites Property

Gets the number of disk writes.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumberOfDiskWrites As Long
    Get
'Usage
Dim instance As DataFile
Dim value As Long

value = instance.NumberOfDiskWrites
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public long NumberOfDiskWrites { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property long long NumberOfDiskWrites {
    long long get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member NumberOfDiskWrites : int64
function get NumberOfDiskWrites () : long

Property Value

Type: System.Int64
An Int64 value that specifies the number of disk writes