Dela via


MailAccountCollection.Parent Property

Gets the SqlMail object that is the parent of the MailAccountCollection object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As SqlMail
    Get
'Usage
Dim instance As MailAccountCollection
Dim value As SqlMail

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Mail.SqlMail
A SqlMail object that is the parent of the MailAccountCollection object.