Udostępnij za pośrednictwem


SmtpServer Constructor (String)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes the SmtpServer class by supplying the address of the SMTP server.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim address As String

Dim instance As New SmtpServer(address)

Syntax

'Declaration
Public Sub New ( _
    address As String _
)
public SmtpServer (
    string address
)
public:
SmtpServer (
    String^ address
)
public SmtpServer (
    String address
)
public function SmtpServer (
    address : String
)

Parameters

  • address
    The address of the SMTP server (for example, smtp.example.company.com or 192.168.2.35).

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

SmtpServer Class
SmtpServer Members
Microsoft.EnterpriseManagement.Administration Namespace