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 中宣告。
命名空間: 包含在 \root\MicrosoftBizTalkServer 中。
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應