DatabaseMailProfile プロパティ

データベース メール プロファイルを取得します。値の設定も可能です。

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

構文

'宣言
<SfcPropertyAttribute> _
Public Property DatabaseMailProfile As String
    Get
    Set
'使用
Dim instance As JobServer
Dim value As String

value = instance.DatabaseMailProfile

instance.DatabaseMailProfile = value
[SfcPropertyAttribute]
public string DatabaseMailProfile { get; set; }
[SfcPropertyAttribute]
public:
property String^ DatabaseMailProfile {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute>]
member DatabaseMailProfile : string with get, set
function get DatabaseMailProfile () : String
function set DatabaseMailProfile (value : String)

プロパティ値

型: System. . :: . .String
SQL Server エージェントのデータベース メール プロファイルの名前を示す String 値です。

説明

このプロパティは SQL Server 2005 で導入されました。