Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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).