MessageQueue.GetMachineId メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MessageQueue.GetMachineId メソッドの意味・解説 

MessageQueue.GetMachineId メソッド

この MessageQueue参照するキュー存在するコンピュータID取得します

名前空間: System.Messaging
アセンブリ: System.Messaging (system.messaging.dll 内)
構文構文

Public Shared Function GetMachineId
 ( _
    machineName As String _
) As Guid
Dim machineName As String
Dim returnValue As Guid

returnValue = MessageQueue.GetMachineId(machineName)
public static Guid GetMachineId (
    string machineName
)
public:
static Guid GetMachineId (
    String^ machineName
)
public static Guid GetMachineId (
    String machineName
)
public static function GetMachineId
 (
    machineName : String
) : Guid

パラメータ

machineName

キューを含むコンピュータの名前。先頭2 つ円記号 (\\) を付けません。

戻り値
キュー存在するコンピュータ一意ID を表す Guid

例外例外
解説解説

コンピュータID は、特に 2 つ目的使用できますコンピュータ ジャーナル読み取りセキュリティ証明書設定です。しかし、アプリケーションドメイン コントローラディレクトリ サービスアクセスする必要があるため、オフライン作業をしているときにリモート コンピュータに対して GetMachineId呼び出すことはできません。

コンピュータ ID (マシン ID) は、コンピュータエンタープライズ追加されたときにメッセージ キュー作成する Guid です。メッセージ キューは、コンピュータ IDMachine キーワードおよび Journal キーワードと組み合わせてMachine=<computeridentifier>;Journal 構文を持つコンピュータ履歴書式名を作成しますコンピュータ履歴履歴キューとも呼ばれるシステム キューで、UseJournalQueue プロパティtrue のときに、アプリケーション生成したメッセージコピー格納されます。

ジャーナルのこの構文は、キュー書式名を構築するときにだけ有効です。パス構文MachineName\Journal$ です。

このメソッド各種ワークグループ モード使用できるかどうか次の表に示します

使用例使用例

GetMachineId呼び出すコード例次に示します

// Get the name of the computer that contains the queue.
string machineName = queue.MachineName;

// Display the return value of the MessageQueue.GetMachineId method.
Console.WriteLine("MessageQueue.GetMachineId(): {0}",
    MessageQueue.GetMachineId(machineName));
// Get the name of the computer that contains the queue.
String machineName = queue.get_MachineName();
// Display the return value of the MessageQueue.GetMachineId method.
Console.WriteLine("MessageQueue.GetMachineId(): {0}", 
    MessageQueue.GetMachineId(machineName));
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

MessageQueue.GetMachineId メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MessageQueue.GetMachineId メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS