共用方式為


LogProviders Class

Definition

Contains a collection of LogProvider objects associated with the package. This class cannot be inherited.

public ref class LogProviders sealed : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public sealed class LogProviders : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type LogProviders = class
    inherit DTSReadOnlyCollectionBase
Public NotInheritable Class LogProviders
Inherits DTSReadOnlyCollectionBase
Inheritance

Fields

m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Properties

Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
IsSynchronized

Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).

(Inherited from DTSReadOnlyCollectionBase)
Item[Object]

Gets a LogProvider object from the collection.

SyncRoot

Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add(String)

Adds the specified log provider to the end of the collection.

Contains(Object)

Specifies whether an item can be retrieved from the LogProviders collection using indexing without throwing an exception.

CopyTo(Array, Int32)

Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from DTSReadOnlyCollectionBase)
CreateManagedObject(Object)

Creates managed object from an unmanaged object.

(Inherited from DTSReadOnlyCollectionBase)
GetCount()

Retrieves the number of objects in the collection.

(Inherited from DTSReadOnlyCollectionBase)
GetEnumerator()

Returns a LogProviderEnumerator for use in iterating over the LogProviders collection.

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
Join(LogProvider)

Joins the specified log provider to the collection.

Remove(Object)

Removes a LogProvider object from the LogProviders collection.

Applies to