TechNet
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
)

Parameters

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
Show:
© 2016 Microsoft