共用方式為


Size 屬性

Gets the size of the database in megabytes (MB).

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayNameKeyAttribute("Database_SizeName")> _
<DisplayDescriptionKeyAttribute("Database_SizeDesc")> _
ReadOnly Property Size As Double
    Get
'用途
Dim instance As IDatabasePerformanceFacet
Dim value As Double

value = instance.Size
[DisplayNameKeyAttribute("Database_SizeName")]
[DisplayDescriptionKeyAttribute("Database_SizeDesc")]
double Size { get; }
[DisplayNameKeyAttribute(L"Database_SizeName")]
[DisplayDescriptionKeyAttribute(L"Database_SizeDesc")]
property double Size {
    double get ();
}
[<DisplayNameKeyAttribute("Database_SizeName")>]
[<DisplayDescriptionKeyAttribute("Database_SizeDesc")>]
abstract Size : float
function get Size () : double

屬性值

型別:System. . :: . .Double
A Double value that specifies the database in megabytes (MB).