MailServer.ServerType プロパティ

メール サーバーの種類を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo.Mail
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ServerType As String 
    Get
'使用
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

プロパティ値

型: System.String
メール サーバーの種類 (Microsoft Exchange Server、Internet Message Access Protocol (IMAP)、Post Office Protocol 3 (POP3) など) を示す String 値です。

使用例

データベース メールの使用

関連項目

参照

MailServer クラス

Microsoft.SqlServer.Management.Smo.Mail 名前空間

その他の技術情報

データベース メール