Propriété MailServer.Port
Gets or sets the port setting for the mail server.
Espace de noms : Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Port As Integer
Get
Set
'Utilisation
Dim instance As MailServer
Dim value As Integer
value = instance.Port
instance.Port = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int Port { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int Port {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Port : int with get, set
function get Port () : int
function set Port (value : int)
Valeur de propriété
Type : System.Int32
An Int32 value that specifies the port address setting for the mail server associated with the referenced mail server.
Exemples
Utilisation de la messagerie de base de données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Mail