Share via


DataFileCollection.Remove Method

Removes a DataFile object from the DataFileCollection collection.

Remarks

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

Overload List

Name Description
DataFileCollection.Remove (DataFile)
Removes a DataFile object from the DataFileCollection collection by specifying the object.
DataFileCollection.Remove (String)
Removes a DataFile object from the DataFileCollection collection by specifying the name of the data file.

See Also

Reference

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

Other Resources

Using Collections