JobServer.SqlAgentMailProfile 属性
Gets or sets a SQL Server Agent mail profile.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property SqlAgentMailProfile As String
Get
Set
用法
Dim instance As JobServer
Dim value As String
value = instance.SqlAgentMailProfile
instance.SqlAgentMailProfile = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string SqlAgentMailProfile { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ SqlAgentMailProfile {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
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.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间