共用方式為


IDTSLogProviders100.Add(String) Method

Definition

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

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogProvider100 ^ Add(System::String ^ LogProviderClsidOrProgId);
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100 Add (string LogProviderClsidOrProgId);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogProvider100
Public Function Add (LogProviderClsidOrProgId As String) As IDTSLogProvider100

Parameters

LogProviderClsidOrProgId
String

The class ID or ProgID of the log provider to add to the collection.

Returns

A IDTSLogProvider100 object added to the collection.

Attributes

Remarks

For more information, see LogProviders.

Applies to