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.
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 |
String
Read/write
HRESULT GetLogServerUserName(BSTR* pVal);
HRESULT SetLogServerUserName(BSTR pVal);
This property is used only when the LogServerFlags has the value DTSSQLStgFlag_Default.