一斉メッセージ取得[Auth_GetApplicationMessage]

Auth_GetApplicationMessage

EA等の管理画面に設定した一斉メッセージの内容を取得します。

関数書式

				
					string Auth_GetApplicationMessage(
   string ManagerName,
   string ApplicationName
);				
			

パラメータ

ManagerName
   [in] EA等をMQLAuthに登録したアカウントのMQLAuth ID
ApplicationName
   [in] EA等のMQLAuthに登録した名称

戻り値

メッセージ内容。データベースアクセス過多等によりエラーになった場合は 空文字 を返します。

サンプル

				
					string message = Auth_GetApplicationMessage(MQLAUTH_ID, APPLICATION_NAME);
if(message != "") {
   Comment(message);
}				
			
On this page