MailServer.Parent Property
Gets or sets the MailAccount object that is the parent of the MailServer object.
Namespace: Microsoft.SqlServer.Management.Smo.Mail
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As MailAccount
Get
'Usage
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
Property Value
Type: Microsoft.SqlServer.Management.Smo.Mail.MailAccount
A MailAccount object value that specifies the parent of the MailServer object.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo.Mail Namespace