Share via


IDTSLogProviders100.Add Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Adds the specified log provider to the end of the collection.

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

Syntax

'Declaration
Function Add ( _
    LogProviderClsidOrProgId As String _
) As IDTSLogProvider100
'Usage
Dim instance As IDTSLogProviders100 
Dim LogProviderClsidOrProgId As String 
Dim returnValue As IDTSLogProvider100 

returnValue = instance.Add(LogProviderClsidOrProgId)
IDTSLogProvider100 Add(
    string LogProviderClsidOrProgId
)
IDTSLogProvider100^ Add(
    [InAttribute] String^ LogProviderClsidOrProgId
)
abstract Add : 
        LogProviderClsidOrProgId:string -> IDTSLogProvider100
function Add(
    LogProviderClsidOrProgId : String
) : IDTSLogProvider100

Parameters

  • LogProviderClsidOrProgId
    Type: System.String
    The class ID or ProgID of the log provider to add to the collection.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100
A IDTSLogProvider100 object added to the collection.

Remarks

For more information, see LogProviders.

See Also

Reference

IDTSLogProviders100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace