Export (0) Print
Expand All

DataFileCollection.Remove Method (String)

Removes a DataFile object from the DataFileCollection collection by specifying the name of the data file.

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

public void Remove(
	string name
)

Parameters

name
Type: String
A String that specifies the name of the data file to be removed from the DataFileCollection collection.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft