LogProviders.Remove Method
Removes a LogProvider object from the LogProviders collection.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Sub Remove ( _
index As Object _
)
'Usage
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
)
Parameters
- index
Type: System.Object
The index of the LogProvider object to remove.
Examples
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)