DtsLogProviderAttribute 생성자
Initializes a new instance of the DtsLogProviderAttribute class.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)
구문
‘선언
Public Sub New
‘사용 방법
Dim instance As New DtsLogProviderAttribute()
public DtsLogProviderAttribute()
public:
DtsLogProviderAttribute()
new : unit -> DtsLogProviderAttribute
public function DtsLogProviderAttribute()
예
The following example shows a class implementing this attribute.
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