Add 方法
Adds a DataFile object to the DataFileCollection collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
dataFile As DataFile _
)
用法
Dim instance As DataFileCollection
Dim dataFile As DataFile
instance.Add(dataFile)
public void Add(
DataFile dataFile
)
public:
void Add(
DataFile^ dataFile
)
member Add :
dataFile:DataFile -> unit
public function Add(
dataFile : DataFile
)
参数
- dataFile
类型:Microsoft.SqlServer.Management.Smo. . :: . .DataFile
A DataFile object that specifies the data file to be added to the DataFileCollection collection.