LogServerUserName Property

DTS Programming

DTS Programming

LogServerUserName Property

The LogServerUserName property sets or returns the user name used to log in to the instance of Microsoft® SQL Server™ to which package logs are written.

Applies To
Package2 Object
Syntax

object.LogServerUserName [= string]

Part Description
object Expression that evaluates to a Package2 object
string User name to log in to the instance of SQL Server to which logs are written

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetLogServerUserName(BSTR* pVal);

HRESULT SetLogServerUserName(BSTR pVal);

Remarks

This property is used only when the LogServerFlags has the value DTSSQLStgFlag_Default.

See Also

FailPackageOnLogFailure Property

LogServerFlags Property

LogServerName Property

LogServerPassword Property

LogToSQLServer Property