FileGroup.Size Property

Gets or sets the size of the file group in KB.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Size As Double 
    Get
'Usage
Dim instance As FileGroup 
Dim value As Double 

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

Property Value

Type: System.Double
A Double value that specifies the size of the file group in KB.

Examples

Working with Database Objects

See Also

Reference

FileGroup Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Files and Filegroups

CREATE TABLE (Transact-SQL)