MSBTS_ReceiveLocation.PipelineName 属性 (WMI)

 

包含将在将文档提交到 MessageBox 数据库之前处理文档的管道的名称。

显示的语法是非特定语言的。

语法

  
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 中声明。

Namespace: 包含在 \root\MicrosoftBizTalkServer 中。