Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataFileCollection.Add Method (DataFile)


Adds a DataFile object to the DataFileCollection collection.

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

public void Add(
	DataFile dataFile


Type: Microsoft.SqlServer.Management.Smo.DataFile

A DataFile object that specifies the data file to be added to the DataFileCollection collection.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft