AgentLogFile Property
Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.
The AgentLogFile property specifies the SQL Server Agent log path and file name.
Sintaxe
object.AgentLogFile [= value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
A string that specifies the path and file name
Data Type
String
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetAgentLogFile(SQLDMO_LPBSTR pRetVal);
HRESULT SetAgentLogFile(SQLDMO_LPCSTR NewValue);
Comentários
By default, the SQL Server Agent log is stored as c:\\Program Files\Microsoft SQL Server\90\mssql90\Log\\Sqlagent.out. Use the AgentLogFile property to specify a location other than the default when running multiple instances of SQL Server Agent.
Observação |
---|
AgentLogFile can be used with SQL Server version 7.0 and later. |