Export (0) Print
Expand All

DatabaseRoleCollection.Item Property (Int32)

Gets a DatabaseRole object in the collection by index number.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public DatabaseRole this[
	int index
] { get; }


Type: Int32
An integer value that specifies the position of the DatabaseRole object in the DatabaseRoleCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseRole
A DatabaseRole object value that represents the database role.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft