Propriété SqlMail.Parent
Gets the Server object that is the parent of the SqlMail object.
Espace de noms : Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Server
Get
'Utilisation
Dim instance As SqlMail
Dim value As Server
value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
Server^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server
function get Parent () : Server
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Server
A Serverobject value that specifies the parent of the SqlMail object.
Exemples
Utilisation de la messagerie de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Mail