# StreamSubscription Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.core.streamsubscription/)

## GrainId {#grainid-15352d27}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.core.streamsubscription/properties/grainid-15352d27/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSubscription.cs#L53)

```csharp
[Orleans.Id(3)]
public GrainId GrainId
```

Gets or sets the grain identifier.

### Value

The grain identifier.

## StreamId {#streamid-e8cf0929}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.core.streamsubscription/properties/streamid-e8cf0929/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSubscription.cs#L46)

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

Gets or sets the stream identifier.

### Value

The stream identifier.

## StreamProviderName {#streamprovidername-bddc9dc6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.core.streamsubscription/properties/streamprovidername-bddc9dc6/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSubscription.cs#L39)

```csharp
[Orleans.Id(1)]
public string StreamProviderName
```

Gets or sets the name of the stream provider.

### Value

The name of the stream provider.

## SubscriptionId {#subscriptionid-d89536f0}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.core.streamsubscription/properties/subscriptionid-d89536f0/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/StreamSubscription.cs#L32)

```csharp
[Orleans.Id(0)]
public Guid SubscriptionId
```

Gets or sets the subscription identifier.

### Value

The subscription identifier.
