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

ServerRoleCollection.Item Property (String)

Gets a ServerRole object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public ServerRole this[
	string name
] { get; }


Type: System.String
A String value that specifies the name 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.