# BatchContainerBatch.StreamId

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.batchcontainerbatch/) | [Properties](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.batchcontainerbatch/properties/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/QueueAdapters/BatchContainerBatch.cs#L20)

```csharp
[Orleans.Id(0)]
public StreamId StreamId
```

Gets the stream identifier for the stream this batch is part of. Derived from the first batch container in the batch.
