Compartilhar via


Propriedade do RDL MailServer.Parent

Gets or sets the MailAccount object that is the parent of the MailServer object.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As MailAccount 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Usando o Database Mail

Consulte também

Referência

MailServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Mail

Outros recursos

Database Mail