Udostępnij za pośrednictwem


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 _
)
public void Remove (
    Object index
)
public:
void Remove (
    Object^ index
)
public void Remove (
    Object index
)
public function Remove (
    index : Object
)

Parameters

Example

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)

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

LogProviders Class
LogProviders Members
Microsoft.SqlServer.Dts.Runtime Namespace