Propriedade do RDL MailServer.ServerType

Gets the type of mail server.

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ServerType As String 
    Get
'Uso
Dim instance As MailServer 
Dim value As String 

value = instance.ServerType
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ServerType {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ServerType : string
function get ServerType () : String

Valor da propriedade

Tipo: System.String
A String value that specifies the type of mail server, such as Microsoft Exchange Server, Internet Message Access Protocol (IMAP), or Post Office Protocol 3 (POP3).

Exemplos

Usando o Database Mail

Consulte também

Referência

MailServer Classe

Namespace Microsoft.SqlServer.Management.Smo.Mail

Outros recursos

Database Mail