Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the size of the database in megabytes (MB).
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<DisplayDescriptionKeyAttribute("Database_SizeDesc")> _
<DisplayNameKeyAttribute("Database_SizeName")> _
ReadOnly Property Size As Double
Get
'Usage
Dim instance As IDatabasePerformanceFacet
Dim value As Double
value = instance.Size
[DisplayDescriptionKeyAttribute("Database_SizeDesc")]
[DisplayNameKeyAttribute("Database_SizeName")]
double Size { get; }
[DisplayDescriptionKeyAttribute(L"Database_SizeDesc")]
[DisplayNameKeyAttribute(L"Database_SizeName")]
property double Size {
double get ();
}
[<DisplayDescriptionKeyAttribute("Database_SizeDesc")>]
[<DisplayNameKeyAttribute("Database_SizeName")>]
abstract Size : float
function get Size () : double
Property Value
Type: System.Double
A Double value that specifies the database in megabytes (MB).