Condividi tramite


ServerConnection.IsInFixedServerRole(FixedServerRoles) Method

Definition

Tests if login is member of any of the specified server roles.

public bool IsInFixedServerRole (Microsoft.SqlServer.Management.Common.FixedServerRoles fixedServerRole);
member this.IsInFixedServerRole : Microsoft.SqlServer.Management.Common.FixedServerRoles -> bool
Public Function IsInFixedServerRole (fixedServerRole As FixedServerRoles) As Boolean

Parameters

fixedServerRole
FixedServerRoles

Returns

Applies to