Delen via


MailServerCollection.Parent Property

Gets the MailAccount object that is the parent of the MailServerCollection object.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Property Parent As MailAccount 
    Get
'Usage
Dim instance As MailServerCollection 
Dim value As MailAccount 

value = instance.Parent
public MailAccount Parent { get; }
public:
property MailAccount^ Parent {
    MailAccount^ get ();
}
member Parent : MailAccount
function get Parent () : MailAccount

Property Value

Type: Microsoft.SqlServer.Management.Smo.Mail.MailAccount
A MailAccount object that is the parent of the MailServerCollection object.

Examples

Using Collections

See Also

Reference

MailServerCollection Class

Microsoft.SqlServer.Management.Smo.Mail Namespace