The LogToSQLServer property sets or returns a value indicating whether Data Transformation Services (DTS) package execution is logged to the specified Microsoft® SQL Server™ 2000 msdb database.
object.LogToSQLServer [= boolean]
Part | Description |
---|---|
object | Expression that evaluates to a Package2 object |
boolean | Boolean that specifies whether package execution is logged to the specified msdb database |
Boolean
Read/write
HRESULT GetLogToSQLServer(VARIANT_BOOL* pRetVal);
HRESULT SetLogToSQLServer(VARIANT_BOOL pRetVal);
The default is FALSE, package execution is logged to a log file or the Microsoft Windows® event log. If TRUE, the LogServerName property specifies the instance of SQL Server to which logs are written.