DtsLogProviderAttribute.LogProviderType Property

 

Gets or sets the type of the log provider. This property is required.

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

public string LogProviderType { get; set; }

Property Value

Type: System.String

The type of the log provider.

The following example shows a class implementing this attribute and setting the LogProviderType.

using System;
using Microsoft.SqlServer.Dts.Runtime;

namespace Microsoft.Samples.SqlServer.Dts
{
[DtsLogProvider(LogProviderType = "MyLOG", 
  DisplayName = "MyCustomLogProvider ", 
  Description = "Custom Log Provider")]
public class MyCustomLogProvider : LogProviderBase
{
    // Your custom log provider code here.
}
}
Return to top
Show: