NamespaceManager.CreateEventHubIfNotExists Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateEventHubIfNotExists(EventHubDescription) |
Creates an Event Hub if it does not exist. |
CreateEventHubIfNotExists(String) |
Creates an Event Hub if it does not exist. |
CreateEventHubIfNotExists(EventHubDescription)
Creates an Event Hub if it does not exist.
public Microsoft.ServiceBus.Messaging.EventHubDescription CreateEventHubIfNotExists (Microsoft.ServiceBus.Messaging.EventHubDescription description);
member this.CreateEventHubIfNotExists : Microsoft.ServiceBus.Messaging.EventHubDescription -> Microsoft.ServiceBus.Messaging.EventHubDescription
Public Function CreateEventHubIfNotExists (description As EventHubDescription) As EventHubDescription
Parameters
- description
- EventHubDescription
An EventHubDescription object that describes the Event Hub to create.
Returns
Returns anEventHubDescription object.
Applies to
CreateEventHubIfNotExists(String)
Creates an Event Hub if it does not exist.
public Microsoft.ServiceBus.Messaging.EventHubDescription CreateEventHubIfNotExists (string path);
member this.CreateEventHubIfNotExists : string -> Microsoft.ServiceBus.Messaging.EventHubDescription
Public Function CreateEventHubIfNotExists (path As String) As EventHubDescription
Parameters
- path
- String
The path to the Event Hub.
Returns
Returns an EventHubDescription object.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET