共用方式為


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> _
Public Property OutputFileName As String
    Get
    Set
'用途
Dim instance As JobStep
Dim value As String

value = instance.OutputFileName

instance.OutputFileName = value
[SfcPropertyAttribute]
public string OutputFileName { get; set; }
[SfcPropertyAttribute]
public:
property String^ OutputFileName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
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.