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