Export (0) Print
Expand All

ServerRoleCollection.Item Property (Int32)

Gets a ServerRole object in the collection by index number.

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

public ServerRole this[
	int index
] { get; }


Type: Int32
An Int32 value that specifies the position of the ServerRole object in the ServerRoleCollection collection.

Property Value

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

Community Additions

© 2015 Microsoft