Partilhar via


DataFile Constructor

Initializes a new instance of the DataFile class.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
DataFile ()
Initializes a new instance of the DataFile class.
DataFile (FileGroup, String)
Initializes a new instance of the DataFile class on the specified file group with the specified name.
DataFile (FileGroup, String, String)
Initializes a new instance of the DataFile class on the specified file group with the specified name and file name.

See Also

Reference

DataFile Class
DataFile Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Filegroups and Files to Store Data
Physical Database Files and Filegroups
CREATE DATABASE (Transact-SQL)