DataFile Constructor (FileGroup, String)
SQL Server 2012
Initializes a new instance of the DataFile class on the specified file group with the specified name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- fileGroup
- Type: Microsoft.SqlServer.Management.Smo.FileGroup
A FileGroup object value that specifies the file group to which this data file belongs.
- name
- Type: System.String
A String value that specifies the name of the data file.
