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; }

Parameters

index
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.

Return to top
Show: