Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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).