Package.LogProviders Property

Returns the collection of log providers associated with the package.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

public LogProviders LogProviders { get; }
/** @property */
public LogProviders get_LogProviders ()

public function get LogProviders () : LogProviders

Valor de propiedad

A LogProviders collection.

For more information about log providers, see Proveedores de registro de Integration Services. For more information about using log providers in the graphical user interface, see Implementar inicios de sesión en paquetes.


The following code sample shows how to add the XML File log provider to the log provider collection in the package.

Package pkg = new Package();
// Add a log provider to the package.
LogProvider logProvs = pkg.LogProviders.Add("DTS.LogProvider.XMLFile.1");

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.

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Adiciones de comunidad

AGREGAR
Mostrar: