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

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)

public double Size { get; set; }

Property Value

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

Community Additions

© 2015 Microsoft