Freigeben über


MailServer.Parent-Eigenschaft

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

Eigenschaftswert

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

Beispiele

Verwenden von Datenbank-E-Mail

Siehe auch

Verweis

MailServer Klasse

Microsoft.SqlServer.Management.Smo.Mail-Namespace

Andere Ressourcen

Datenbank-E-Mail