EnumDatabaseRoleMember Method (SQL-DMO)

The EnumDatabaseRoleMember method returns a QueryResults object enumerating the database users granted role membership.

Applies To

DatabaseRole Object

Syntax

object.EnumDatabaseRoleMember() as QueryResults

Part Description
object Expression that evaluates to an object in the Applies To list

Returns

A QueryResults object containing one result set defined by this column.

Column Data type Description
name nchar(129) Database username

Prototype (C/C++)

HRESULT EnumDatabaseRoleMember(
LPSQLDMOQUERYRESULTS* ppResults);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.