SqlAgentMailProfile 屬性
Gets or sets a SQL Server Agent mail profile.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<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.