LogProviders.Remove Method (Object)

 

Removes a LogProvider object from the LogProviders collection.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public void Remove(
	object index
)

Parameters

index
Type: 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);
Return to top
Show: