Export (0) Print
Expand All

DataFile Constructor (FileGroup, String, String)

Initializes a new instance of the DataFile class on the specified file group with the specified name and file name.

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

public DataFile(
	FileGroup fileGroup,
	string name,
	string fileName
)

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: String
A String value that specifies the name of the data file.
fileName
Type: String
A String value that specifies the file name of the data file.

Community Additions

ADD
Show:
© 2014 Microsoft