Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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; }

Parameters

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

Community Additions

ADD
Show:
© 2015 Microsoft