# PersistentStreamProvider.GetStream(StreamId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.persistentstreamprovider/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.providers.streams.common.persistentstreamprovider/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/PersistentStreams/PersistentStreamProvider.cs#L168-L170)

```csharp
public IAsyncStream<T> GetStream<T>(StreamId streamId)
```

Gets the stream with the specified identity.

### Parameters

- `streamId` (`StreamId`): The stream identifier.

### Returns

The stream.
