你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NamespaceManager.GetEventHub(String) 方法

定义

获取有关事件中心的信息。

public Microsoft.ServiceBus.Messaging.EventHubDescription GetEventHub (string path);
member this.GetEventHub : string -> Microsoft.ServiceBus.Messaging.EventHubDescription
Public Function GetEventHub (path As String) As EventHubDescription

参数

path
String

事件中心的路径。

返回

返回一个 EventHubDescription 对象,该对象包含事件中心说明。

适用于