Edit

Share via


EventHubDataAdapter.GetPartitionKey(Guid, String) Method

Definition

Get the Event Hub partition key to use for a stream.

public virtual string GetPartitionKey (Guid streamGuid, string streamNamespace);
abstract member GetPartitionKey : Guid * string -> string
override this.GetPartitionKey : Guid * string -> string
Public Overridable Function GetPartitionKey (streamGuid As Guid, streamNamespace As String) As String

Parameters

streamGuid
Guid

The stream Guid.

streamNamespace
String

The stream Namespace.

Returns

The partition key to use for the stream.

Implements

Applies to