Partilhar via


Método Remove

Removes a LogProvider object from the LogProviders collection.

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

Sintaxe

'Declaração
Public Sub Remove ( _
    index As Object _
)
'Uso
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
)

Parâmetros

Exemplos

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)