IDatabasePrincipal.MemberOfRoles Property
Gets a collection of database roles this principal is a member of.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
ReadOnly Property MemberOfRoles As IMetadataCollection(Of IDatabaseRole)
Get
'Usage
Dim instance As IDatabasePrincipal
Dim value As IMetadataCollection(Of IDatabaseRole)
value = instance.MemberOfRoles
IMetadataCollection<IDatabaseRole> MemberOfRoles { get; }
property IMetadataCollection<IDatabaseRole^>^ MemberOfRoles {
IMetadataCollection<IDatabaseRole^>^ get ();
}
abstract MemberOfRoles : IMetadataCollection<IDatabaseRole>
function get MemberOfRoles () : IMetadataCollection<IDatabaseRole>
Property Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMetadataCollection<IDatabaseRole>
A collection of database roles this principal is a member of.