MailServer.Parent 属性

Gets or sets the MailAccount object that is the parent of the MailServer object.

命名空间:  Microsoft.SqlServer.Management.Smo.Mail
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As MailAccount 
    Get
用法
Dim instance As MailServer 
Dim value As MailAccount 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public MailAccount Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property MailAccount^ Parent {
    MailAccount^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : MailAccount
function get Parent () : MailAccount

属性值

类型:Microsoft.SqlServer.Management.Smo.Mail.MailAccount
A MailAccount object value that specifies the parent of the MailServer object.

示例

使用数据库邮件

请参阅

参考

MailServer 类

Microsoft.SqlServer.Management.Smo.Mail 命名空间

其他资源

数据库邮件