The EnumDatabaseRoleMember method returns a QueryResults object enumerating the database users granted role membership.
object.EnumDatabaseRoleMember() as QueryResults
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
A QueryResults object containing one result set defined by this column.
Column | Data type | Description |
---|---|---|
name | nchar(129) | Database username |
HRESULT EnumDatabaseRoleMember(
LPSQLDMOQUERYRESULTS* ppResults);