Propiedad MSBTS_ReceiveLocation.PipelineName (WMI)

 

Contiene el nombre de la canalización que procesará el documento antes de que el documento se envíe a la base de datos de cuadro de mensaje.

La sintaxis se muestra en lenguaje neutro.

Sintaxis

  
string PipelineName;  

Comentarios

Esta propiedad es de lectura y escritura.

Esta propiedad es obligatoria para la creación de instancias.

La longitud máxima de esta propiedad es de 256 caracteres.

Ejemplo

El siguiente ejemplo se tomó del archivo 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  
  

No se proporcionan ejemplos para C#.

Requisitos

Rúbrica: Declarado en BTSWMISchemaXP.mof.

Espacio de nombres: incluido en \root\MicrosoftBizTalkServer.