Compartir a través de


JobServer.ErrorLogFile Property

Gets or sets the name and path of the file in which Microsoft SQL Server Agent records errors.

Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Property ErrorLogFile As String
public string ErrorLogFile { get; set; }
public:
property String^ ErrorLogFile {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_ErrorLogFile ()

/** @property */
public void set_ErrorLogFile (String value)
public function get ErrorLogFile () : String

public function set ErrorLogFile (value : String)

Valor de propiedad

A String value that specifies the path and file name of the of the error log file.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Create a Job with Steps and a Schedule in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

JobServer Class
JobServer Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Otros recursos

Automatizar las tareas administrativas (Agente SQL Server)
Scheduling Automatic Administrative Tasks in SQL Server Agent
Procedimientos almacenados del Agente SQL Server (Transact-SQL)