This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The EnumDatabaseRoleMember method returns a QueryResults object that enumerates the database users granted role membership.
object .EnumDatabaseRoleMember( ) as QueryResults
Expression that evaluates to an object in the Applies To list.
HRESULT EnumDatabaseRoleMember( LPSQLDMOQUERYRESULTS* ppResults);
A QueryResults object that contains one result set defined by this column.