LogProviders.Remove 方法
Removes a LogProvider object from the LogProviders collection.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Sub Remove ( _
index As Object _
)
用法
Dim instance As LogProviders
Dim index As Object
instance.Remove(index)
public void Remove(
Object index
)
public:
void Remove(
Object^ index
)
member Remove :
index:Object -> unit
public function Remove(
index : Object
)
参数
- index
类型:System.Object
The index of the LogProvider object to remove.
示例
The following line of code shows how to remove a log provider from the package LogProviders collection.
pkg.LogProviders.Remove(0);
pkg.LogProviders.Remove(0)