Export (0) Print
Expand All

LogProvider.CreationName Property

Returns the string used by the runtime to create an instance of the LogProvider object. This property is read-only.

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

abstract CreationName : string
override CreationName : string

Property Value

Type: System.String
A String that contains the name or the identifier (GUID) of the log provider.

Implements

IDTSName.CreationName

You can add a log provider to the collection using the CreationName. The creation name is also referred to as the ProgID. For the list of ProgIDs assigned to the log providers, see Add.

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 CreationName.

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

Sample Output:

ConfigString:

CreationName DTS.LogProviderTextFile.2

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

Community Additions

ADD
Show:
© 2014 Microsoft