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

IWithNamespace.WithExistingNamespace 方法

定义

重载

WithExistingNamespace(IEventHubNamespace)

指定需要在其中创建事件中心的现有事件中心命名空间。

WithExistingNamespace(String, String)

指定需要在其中创建事件中心的现有事件中心命名空间。

WithExistingNamespace(IEventHubNamespace)

指定需要在其中创建事件中心的现有事件中心命名空间。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCaptureProviderOrCreate WithExistingNamespace (Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace ehNamespace);
abstract member WithExistingNamespace : Microsoft.Azure.Management.Eventhub.Fluent.IEventHubNamespace -> Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCaptureProviderOrCreate
Public Function WithExistingNamespace (ehNamespace As IEventHubNamespace) As IWithCaptureProviderOrCreate

参数

ehNamespace
IEventHubNamespace

返回

适用于

WithExistingNamespace(String, String)

指定需要在其中创建事件中心的现有事件中心命名空间。

public Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCaptureProviderOrCreate WithExistingNamespace (string resourceGroupName, string namespaceName);
abstract member WithExistingNamespace : string * string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCaptureProviderOrCreate
Public Function WithExistingNamespace (resourceGroupName As String, namespaceName As String) As IWithCaptureProviderOrCreate

参数

resourceGroupName
String

命名空间资源组名称。

namespaceName
String

事件中心命名空间。

返回

适用于