The LogServerName property sets or returns the name of the computer running an instance of Microsoft® SQL Server™ to which package logs are written.
object.LogServerName [= name]
Part | Description |
---|---|
object | Expression that evaluates to a Package2 object |
name | Name of the server to which logs are written |
String
Read/write
HRESULT GetLogServerName(BSTR* pVal);
HRESULT SetLogServerName(BSTR pVal);