次の方法で共有


AlertSystem.PagerCCTemplate プロパティ

ポケットベルによる通知で、SQL Server エージェントが送信する電子メールの Cc: 行内の、送信されるテンプレート テキストを取得します。値の設定も可能です。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PagerCCTemplate As String 
    Get 
    Set
'使用
Dim instance As AlertSystem 
Dim value As String 

value = instance.PagerCCTemplate

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

プロパティ値

型: System.String
ポケットベル メッセージに送信される電子メールの Cc: 行内の、送信されるテキストを示す String 値です。

説明

テンプレートでは、SQL Server エージェントは、通知されたオペレーターのポケットベル アドレスで文字列 <#A#> を置き換えます。 PagerAddress プロパティを使用して、オペレーターのポケットベル アドレスを設定します。

使用例

SQL Server エージェントでの自動管理タスクのスケジュール設定

関連項目

参照

AlertSystem クラス

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

その他の技術情報

管理タスクの自動化 (SQL Server エージェント)

sp_add_alert (Transact-SQL)