Port 属性

Gets or sets the port setting for the mail server.

命名空间:  Microsoft.SqlServer.Management.Smo.Mail
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute> _
Public Property Port As Integer
    Get
    Set
用法
Dim instance As MailServer
Dim value As Integer

value = instance.Port

instance.Port = value
[SfcPropertyAttribute]
public int Port { get; set; }
[SfcPropertyAttribute]
public:
property int Port {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member Port : int with get, set
function get Port () : int
function set Port (value : int)

属性值

类型:System. . :: . .Int32
An Int32 value that specifies the port address setting for the mail server associated with the referenced mail server.