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

DataFileCollection.Remove Method (DataFile)


Removes a DataFile object from the DataFileCollection collection by specifying the object.

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

public void Remove(
	DataFile dataFile


Type: Microsoft.SqlServer.Management.Smo.DataFile

A DataFile object to be removed from the DataFileCollection collection.

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