다음을 통해 공유


JobStep.OutputFileName 속성

Gets or sets the name and path of the operating system file that records job step result message text.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property OutputFileName As String 
    Get 
    Set
‘사용 방법
Dim instance As JobStep 
Dim value As String 

value = instance.OutputFileName

instance.OutputFileName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string OutputFileName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ OutputFileName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member OutputFileName : string with get, set
function get OutputFileName () : String 
function set OutputFileName (value : String)

속성 값

유형: System.String
An OSRunPriority value that specifies the priority given to job steps executing operating system tasks.

주의

The sysadmin permission level is required to access this property. N.sysadmins can also use this property.

Set OutputFileName to start recording result message text to the file indicated by the property. Set OutputFileName to an empty string to stop recording.

SQL Server 에이전트에서 자동 관리 태스크 예약

참고 항목

참조

JobStep 클래스

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스

관련 자료

관리 태스크 자동화(SQL Server 에이전트)

sp_help_jobstep(Transact-SQL)