Compartir a través de


SqlAgentMailProfile Propiedad

Gets or sets a SQL Server Agent mail profile.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property SqlAgentMailProfile As String
    Get
    Set
'Uso
Dim instance As JobServer
Dim value As String

value = instance.SqlAgentMailProfile

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the name of the SQL Server Agent mail profile.