Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataFile.Size Property


Applies To: SQL Server 2016 Preview

Gets or sets the current size of the data file in KB.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public double Size { get; set; }

Property Value

Type: System.Double

A Double value that specifies the current size of the database in KB.

Return to top
© 2015 Microsoft