共用方式為


ServerType 屬性

Gets the type of mail server.

命名空間:  Microsoft.SqlServer.Management.Smo.Mail
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property ServerType As String
    Get
'用途
Dim instance As MailServer
Dim value As String

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

屬性值

型別: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).