Udostępnij za pośrednictwem


LogProvider 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 following tables list the members exposed by the LogProvider type.

Public Properties

  Name Description
ms212814.pubproperty(en-US,SQL.90).gif ConfigString Gets or sets the connection and configuration information for the specific log provider.
ms212814.pubproperty(en-US,SQL.90).gif CreationName Returns the string used by the runtime to create an instance of the LogProvider object. This property is read-only.
ms212814.pubproperty(en-US,SQL.90).gif DelayValidation Gets or sets a Boolean that specifies whether a call to Validate for the log provider is delayed until package execution.
ms212814.pubproperty(en-US,SQL.90).gif Description Gets or sets the description of the LogProvider object.
ms212814.pubproperty(en-US,SQL.90).gif HostType Gets an enumeration that describes the type of host that the log provider is being used by. This property is read-only
ms212814.pubproperty(en-US,SQL.90).gif ID Gets the ID of the LogProvider. This property is read-only.
ms212814.pubproperty(en-US,SQL.90).gif InnerObject Returns the specific log provider that is being hosted by the LogProvider object.
ms212814.pubproperty(en-US,SQL.90).gif 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.
ms212814.pubproperty(en-US,SQL.90).gif Properties Returns a DtsProperties collection, which contains a collection of DtsProperty objects.
ms212814.pubproperty(en-US,SQL.90).gif Site  

Top

Public Methods

(see also Protected Methods )

  Name Description
ms212814.pubmethod(en-US,SQL.90).gif CloseLog Closes the log.
ms212814.pubmethod(en-US,SQL.90).gif Dispose Releases the resources used by the log provider.
ms212814.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from DtsObject )
ms212814.pubmethod(en-US,SQL.90).gif GetExpression Returns a String that contains the expression for the specified property. Null means no expression is assigned.
ms212814.pubmethod(en-US,SQL.90).gif GetHashCode  Returns the hash code for this instance. (inherited from DtsObject)
ms212814.pubmethod(en-US,SQL.90).gif GetPackagePath Returns a String that contains the relative path to the package location.
ms212814.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms212814.pubmethod(en-US,SQL.90).gif LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
ms212814.pubmethod(en-US,SQL.90).gifms212814.static(en-US,SQL.90).gif op_Equality  (inherited from DtsObject )
ms212814.pubmethod(en-US,SQL.90).gifms212814.static(en-US,SQL.90).gif op_Inequality  (inherited from DtsObject )
ms212814.pubmethod(en-US,SQL.90).gif OpenLog Opens the log.
ms212814.pubmethod(en-US,SQL.90).gifms212814.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms212814.pubmethod(en-US,SQL.90).gif SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
ms212814.pubmethod(en-US,SQL.90).gif SetExpression Assigns the specified expression to the property. Specify null to remove an existing expression from the property.
ms212814.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms212814.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms212814.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms212814.pubevent(en-US,SQL.90).gif Disposed Adds an event handler to listen to the Disposed event on the log provider.

Top

See Also

Reference

LogProvider Class
Microsoft.SqlServer.Dts.Runtime Namespace