JobServer.AgentMailType 属性
Gets or sets the mail type for SQL Server Agent.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AgentMailType As AgentMailType
Get
Set
用法
Dim instance As JobServer
Dim value As AgentMailType
value = instance.AgentMailType
instance.AgentMailType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AgentMailType AgentMailType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AgentMailType AgentMailType {
AgentMailType get ();
void set (AgentMailType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AgentMailType : AgentMailType with get, set
function get AgentMailType () : AgentMailType
function set AgentMailType (value : AgentMailType)
属性值
类型:Microsoft.SqlServer.Management.Smo.Agent.AgentMailType
An AgentMailType object value that specifies the mail type for SQL Server Agent.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间