ConfigString Property

LogProvider.ConfigString Property

Gets or sets the connection and configuration information for the specific log provider.

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

property String^ ConfigString {
	String^ get ();
	void set (String^ value);
/** @property */
public String get_ConfigString ()

/** @property */
public void set_ConfigString (String value)

public function get ConfigString () : String

public function set ConfigString (value : String)

Property Value

A String that contains the configuration state to either save or load.

The configuration string contains connection and configuration information specific to the provider. Each provider has configuration settings that are unique to that provider, and these properties are set using the ConfigString property.

The following table lists the available log providers, their description, and their ConfigString information.



ConfigString property

SQL Server Profiler

Generates SQL traces that may be captured and viewed in SQL Server Profiler. The default file name extension for this provider is .trc.

No configuration is required.

SQL Server

Writes event log entries to the sysdtslog90 table in any SQL Server database.

SQL Server provider requires that the connection to the database be specified, and also the target database name.

Text File

Writes event log entries to ASCII text files in a comma-separated value (CSV) format. The default file name extension for this provider is .log.

The name of a file connection manager.

Windows Event Log

Logs to standard Windows Event Log on the local computer in the Application log.

No configuration is required.

XML File

Writes event log entries to XML formatted file. The default file name extension for this provider is .xml

The name of the XML connection manager.

The following code example loads a package for which logging has been enabled. After loading the package, the LogProviders collection is created, and each log provider in the collection is enumerated over, printing the values for each property, including the ConfigString.

No code example is currently available or this language may not be supported.

Sample Output:


CreationName DTS.LogProviderTextFile.1

DelayValidation False

Description Writes log entries for events to a CSV file

HostType LogProvider

ID {1E107E39-DB79-4F02-B8A7-61D88F2DEF63}

InnerObject System.__ComObject

Name SSIS log provider for Text files

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.

Development Platforms

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

Target Platforms

Community Additions

© 2016 Microsoft