# ClusterMembershipSnapshot Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/)

## AsUpdate {#asupdate-699265ef}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/methods/asupdate-699265ef/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs#L80)

```csharp
public ClusterMembershipUpdate AsUpdate()
```

Returns a [ClusterMembershipUpdate](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipupdate/) which represents this instance.

### Returns

A [ClusterMembershipUpdate](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipupdate/) which represents this instance.

## CreateUpdate(ClusterMembershipSnapshot) {#createupdate-orleans-runtime-clustermembershipsnapshot-45d8670a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/methods/createupdate-orleans-runtime-clustermembershipsnapshot-45d8670a/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs#L88-L118)

```csharp
public ClusterMembershipUpdate CreateUpdate(ClusterMembershipSnapshot previous)
```

Returns a [ClusterMembershipUpdate](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipupdate/) which represents the change in cluster membership from the provided snapshot to this instance.

### Parameters

- `previous` (`ClusterMembershipSnapshot`)

### Returns

A [ClusterMembershipUpdate](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipupdate/) which represents the change in cluster membership from the provided snapshot to this instance.

## GetSiloStatus(SiloAddress) {#getsilostatus-orleans-runtime-siloaddress-51092f53}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/methods/getsilostatus-orleans-runtime-siloaddress-51092f53/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs#L48-L61)

```csharp
public SiloStatus GetSiloStatus(SiloAddress silo)
```

Gets status of the specified silo.

### Parameters

- `silo` (`SiloAddress`): The silo.

### Returns

The status of the specified silo.

## GetSiloStatus(SiloAddress, MembershipVersion) {#getsilostatus-orleans-runtime-siloaddress-orleans-runtime-membershipversion-12ecab55}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/methods/getsilostatus-orleans-runtime-siloaddress-orleans-runtime-membershipversion-12ecab55/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs#L72-L73)

```csharp
public SiloStatus GetSiloStatus(SiloAddress silo, MembershipVersion seenAtVersion)
```

Gets status of the specified silo, treating unknown silos as dead if this snapshot is newer than when the silo was seen.

### Parameters

- `silo` (`SiloAddress`): The silo.
- `seenAtVersion` (`MembershipVersion`): The membership version when the silo was last seen.

### Returns

The status of the specified silo.

## ToString {#tostring-58606308}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.runtime.clustermembershipsnapshot/methods/tostring-58606308/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs#L124-L142)

```csharp
public override string ToString()
```

Returns a string that represents the current object.

### Returns

A string that represents the current object.
