MailAccount Constructor (SqlMail, String, String, String, String)

SQL Server データベース メール サブシステムの指定されたインスタンスで、指定された名前、説明、表示名、および電子メール アドレスを使用して MailAccount クラスの新しいインスタンスを初期化します。

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

構文

'宣言
Public Sub New ( _
    parent As SqlMail, _
    name As String, _
    description As String, _
    displayName As String, _
    emailAddress As String _
)
public MailAccount (
    SqlMail parent,
    string name,
    string description,
    string displayName,
    string emailAddress
)
public:
MailAccount (
    SqlMail^ parent, 
    String^ name, 
    String^ description, 
    String^ displayName, 
    String^ emailAddress
)
public MailAccount (
    SqlMail parent, 
    String name, 
    String description, 
    String displayName, 
    String emailAddress
)
public function MailAccount (
    parent : SqlMail, 
    name : String, 
    description : String, 
    displayName : String, 
    emailAddress : String
)

パラメータ

  • parent
    SQL Server のインスタンスで実行中の SQL Server データベース メール サブシステムを示す SqlMail オブジェクトの値です。
  • name
    メール アカウントの名前を示す String 値です。
  • description
    メール アカウントの目的を説明するテキストを表す String 値です。
  • displayName
    メッセージの送信時に表示される名前を示す String 値です。
  • emailAddress
    メール アカウントの電子メール アドレスを示す String 値です。

解説

この名前空間、クラス、またはメンバは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

Visual Basic .NET を使用してデータベース メール アカウントを作成する方法

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

MailAccount Class
MailAccount Members
Microsoft.SqlServer.Management.Smo.Mail Namespace

その他の技術情報

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