共用方式為


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.