Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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: System.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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.