Share via


LogProvider Members

Include Protected Members
Include Inherited Members

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.

The LogProvider type exposes the following members.

Methods

  Name Description
Public method CloseLog() Closes the log.
Public method Dispose() Releases the resources used by the log provider.
Public method Equals(Object) Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize() (Inherited from Object.)
Public method GetExpression(String) Returns a String that contains the expression for the specified property. Null means no expression is assigned.
Public method GetHashCode() Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetPackagePath() Returns a String that contains the relative path to the package location.
Public method GetType() (Inherited from Object.)
Public method LoadFromXML(XmlNode, IDTSEvents) This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Protected method MemberwiseClone() (Inherited from Object.)
Public method OpenLog() Opens the log.
Public method SaveToXML(XmlDocument%, XmlNode, IDTSEvents) This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Public method SetExpression(String, String) Assigns the specified expression to the property. Specify nulla null reference (Nothing in Visual Basic) to remove an existing expression from the property.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property ConfigString Gets or sets the connection and configuration information for the specific log provider.
Public property CreationName Returns the string used by the runtime to create an instance of the LogProvider object. This property is read-only.
Public property DelayValidation Gets or sets a Boolean that specifies whether a call to Validate for the log provider is delayed until package execution.
Public property Description Gets or sets the description of the LogProvider object.
Public property HostType Gets an enumeration that describes the type of host that the log provider is being used by. This property is read-only
Public property ID Gets the ID of the LogProvider. This property is read-only.
Public property InnerObject Returns the specific log provider that is being hosted by the LogProvider object.
Public property Name Gets or sets a the name of the LogProvider object, such as "SSIS log provider for Text files". This string is the text that shows in the Configure SSIS Logs (Providers and Logs Tab) dialog box in the Provider type drop-down menu.
Public property Properties Returns a DtsProperties collection, which contains a collection of DtsProperty objects.
Public property Site Infrastructure.

Top

Events

  Name Description
Public event Disposed Adds an event handler to listen to the Disposed event on the log provider.

Top