Partager via


Propriété IDatabasePerformanceFacet.Size

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Database_SizeDesc")> _
<DisplayNameKeyAttribute("Database_SizeName")> _
ReadOnly Property Size As Double 
    Get
'Utilisation
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

Valeur de propriété

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

Voir aussi

Référence

IDatabasePerformanceFacet Interface

Espace de noms Microsoft.SqlServer.Management.Smo