EventHubDataAdapter.GetPartitionKey(Guid, String) 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.
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.