다음을 통해 공유


SqlAgentMailProfile 속성

Gets or sets a SQL Server Agent mail profile.

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

구문

‘선언
<SfcPropertyAttribute> _
Public Property SqlAgentMailProfile As String
    Get
    Set
‘사용 방법
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)

속성 값

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