Any suggestions? Export (0) Print
Expand All

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.

Return to top
© 2016 Microsoft