다음을 통해 공유


MailServer.Port 속성

Gets or sets the port setting for the mail server.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Mail
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Port As Integer 
    Get 
    Set
‘사용 방법
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)

속성 값

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

데이터베이스 메일 사용

참고 항목

참조

MailServer 클래스

Microsoft.SqlServer.Management.Smo.Mail 네임스페이스

관련 자료

데이터베이스 메일