Partager via


Size propriété

Gets or sets the current size of the data file in KB.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property Size As Double
    Get
    Set
'Utilisation
Dim instance As DataFile
Dim value As Double

value = instance.Size

instance.Size = value
[SfcPropertyAttribute]
public double Size { get; set; }
[SfcPropertyAttribute]
public:
property double Size {
    double get ();
    void set (double value);
}
[<SfcPropertyAttribute>]
member Size : float with get, set
function get Size () : double
function set Size (value : double)

Valeur de la propriété

Type : System. . :: . .Double
A Double value that specifies the current size of the database in KB.