ServerConnection.IsInFixedServerRole Method
Tests whether the logon associated with the referenced connection is a member of the specified fixed server role.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Sintaxis
'Declaración
Public Function IsInFixedServerRole ( _
fixedServerRole As FixedServerRoles _
) As Boolean
public bool IsInFixedServerRole (
FixedServerRoles fixedServerRole
)
public:
bool IsInFixedServerRole (
FixedServerRoles fixedServerRole
)
public boolean IsInFixedServerRole (
FixedServerRoles fixedServerRole
)
public function IsInFixedServerRole (
fixedServerRole : FixedServerRoles
) : boolean
Parámetros
- fixedServerRole
A FixedServerRoles object value that specifies the fixed server role to be compared with the logon.
Valor devuelto
A Boolean value that specifies whether the logon is a member of the specified fixed server role. If True, the logon is a member of the specified fixed server role. If False, the logon is not a member of the specified fixed server role.
Notas
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
ServerConnection Class
ServerConnection Members
Microsoft.SqlServer.Management.Common Namespace