Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
StreamBaseAdminClient..::SetLeadershipStatus Method

Set the leadership status of the server.
Set the leadership status of the server.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public void SetLeadershipStatus(
    	LeadershipStatus newStatus
    )

    Public Sub SetLeadershipStatus ( _
    	newStatus As LeadershipStatus _
    )

    public:
    void SetLeadershipStatus(
    	LeadershipStatus newStatus
    )

#### Parameters

newStatus
  LeadershipStatus

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..StreamBaseException |
StreamBase.SB..::..StreamBaseException |

# See Also

StreamBaseAdminClient Class
StreamBase.SB.Client Namespace