Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Gets or sets the port setting for the mail server.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Mail
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintassi
'Dichiarazione
Public Property Port As Integer
public int Port { get; set; }
public:
property int Port {
int get ();
void set (int value);
}
/** @property */
public int get_Port ()
/** @property */
public void set_Port (int value)
public function get Port () : int
public function set Port (value : int)
Valore proprietà
An Int32 value that specifies the port address setting for the mail server associated with the referenced mail server.
Osservazioni
This namespace, class, or member is supported only in version 2.0 of the .NET Framework*.*
Esempio
How to: Create a Database Mail Account by Using Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
MailServer Class
MailServer Members
Microsoft.SqlServer.Management.Smo.Mail Namespace