Share via


MailProfileCollection.Parent Property

Gets the SqlMail object that is the parent of the MailProfileCollection 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 MailProfileCollection 
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 MailProfileCollection object.

Examples

Using Collections

See Also

Reference

MailProfileCollection Class

Microsoft.SqlServer.Management.Smo.Mail Namespace