DtsLogProviderAttribute.LogProviderType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the type of the log provider. This property is required.
public:
property System::String ^ LogProviderType { System::String ^ get(); void set(System::String ^ value); };
public string LogProviderType { get; set; }
member this.LogProviderType : string with get, set
Public Property LogProviderType As String
Property Value
The type of the log provider.
Examples
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.
}
}
Imports System
Imports Microsoft.SqlServer.Dts.Runtime
<DtsLogProvider(LogProviderType:="MyLOG", _
DisplayName:="MyCustomLogProvider ", _
Description:="Custom Log Provider")> _
Public Class MyCustomLogProvider
Inherits LogProviderBase
' Your custom log provider code here.
End Class