다음을 통해 공유


LogProvider Class

Contains information about a log provider associated with a package. All log providers associated with a package are located in the LogProviders collection. For log providers on the computer, use the Application class and view the LogProviderInfos collection. This class cannot be inherited.

네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

구문

‘선언
Public NotInheritable Class LogProvider
    Inherits DtsObject
    Implements IDTSObjectHost, IDTSName, IDTSPersist, IDTSPropertiesProvider, _
    IComponent, IDisposable, IDTSPackagePath
public sealed class LogProvider : DtsObject, IDTSObjectHost, IDTSName, IDTSPersist, 
    IDTSPropertiesProvider, IComponent, IDisposable, IDTSPackagePath
public ref class LogProvider sealed : public DtsObject, IDTSObjectHost, IDTSName, IDTSPersist, 
    IDTSPropertiesProvider, IComponent, IDisposable, IDTSPackagePath
public final class LogProvider extends DtsObject implements IDTSObjectHost, IDTSName, 
    IDTSPersist, IDTSPropertiesProvider, IComponent, IDisposable, IDTSPackagePath
public final class LogProvider extends DtsObject implements IDTSObjectHost, IDTSName, 
    IDTSPersist, IDTSPropertiesProvider, IComponent, IDisposable, IDTSPackagePath

주의

The host log provider is a class that provides the methods and properties that are common to all of the log providers. Regardless of which log provider is in use, this class allows you to perform all tasks associated with logging. The LogProvider class is the object you use when programmatically adding log providers to a package. It is a generic host log provider that hosts an underlying log provider. The hosted log provider is accessible using the InnerObject. If you want to create a custom log provider, use the LogProviderBase class.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.LogProvider

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

LogProvider Members
Microsoft.SqlServer.Dts.Runtime Namespace