Właściwość Port
Pobiera lub ustawia ustawienie portu serwera poczty.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Mail
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Port As Integer
Get
Set
'Użycie
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)
Wartość właściwości
Typ: System. . :: . .Int32
Int32 Wartość, która określa ustawienie adresu portu serwera poczty, skojarzonych z serwerem poczty odwołanie.
Zobacz także