다음을 통해 공유


SmtpServer 속성

Gets or sets the name used to connect to the SMTP server.

네임스페이스:  Microsoft.SqlServer.Dts.ManagedConnections
어셈블리:  Microsoft.SqlServer.ManagedConnections(Microsoft.SqlServer.ManagedConnections.dll)

구문

‘선언
Public Property SmtpServer As String
    Get
    Set
‘사용 방법
Dim instance As SMTPConn
Dim value As String

value = instance.SmtpServer

instance.SmtpServer = value
public string SmtpServer { get; set; }
public:
property String^ SmtpServer {
    String^ get ();
    void set (String^ value);
}
member SmtpServer : string with get, set
function get SmtpServer () : String
function set SmtpServer (value : String)

속성 값

유형: System. . :: . .String
A String that contains the name used to connect to the SMTP server.