Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
}
}
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.