Share via


Job.OperatorToEmail Property

Gets or sets the operator that receives notification by e-mail when the job finishes execution.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public Property OperatorToEmail As String
    Get
    Set
'Usage
Dim instance As Job
Dim value As String

value = instance.OperatorToEmail

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

Property Value

Type: System.String
A String value that specifies the operator that receives e-mail notification when the job finishes.