次の方法で共有


MSBTS_ReceiveLocation.PipelineName プロパティ (WMI)

 

メッセージ ボックス データベースに送信する前のドキュメントを処理するパイプラインの名前を含んでいます。

ここに示す構文は、特定の言語に依存しません。

構文

  
string PipelineName;  

解説

このプロパティは読み取り/書き込みです。

このプロパティはインスタンスの作成に必須です。

このプロパティの最大長は 256 文字です。

次の例は、SDK\Samples\Admin\WMI\Enumerate Receive Locations\VBScript\EnumRecLocs.vbs ファイルからの抜粋です。

  
Sub EnumRecLocs()  
  
   'error handling is done by explicity checking the err object rather than using  
   'the VB ON ERROR construct, so set to resume next on error.  
   on error resume next  
  
   Dim InstSet, Inst  
   set InstSet = GetObject ("winmgmts:\root\MicrosoftBizTalkServer").InstancesOf("MSBTS_ReceiveLocation")  
  
   'Check for error condition before continuing.  
   If Err <> 0   Then  
      PrintWMIErrorThenExit Err.Description, Err.Number  
   End If  
  
   'Report on number of receive locations found and list each one.  
   wscript.echo "A Total of " & InstSet.Count & " Receive Locations were found."  
   If InstSet.Count > 0 Then  
      For Each Inst In InstSet  
         wscript.echo  
         wscript.echo "Receive Location Name: " & Inst.Name  
         wscript.echo "  Disabled           : " & Inst.IsDisabled  
         wscript.echo "  Pipeline Name      : " & Inst.PipelineName  
         wscript.echo "  Receive Port Name  : " & Inst.ReceivePortName  
         wscript.echo  
      next  
   End If   
  
End Sub  
  

C# の例は提供されていません。

必要条件

ヘッダー: BTSWMISchemaXP.mof で宣言されています。

名前空間: \Root\MicrosoftBizTalkServer