다음을 통해 공유


Size 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Size As Double
    Get
    Set
‘사용 방법
Dim instance As DataFile
Dim value As Double

value = instance.Size

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

속성 값

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