This document is archived and information here might be outdated.  Recommended version.

IRole.SetRolename Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IR > IRole Interface > IRole.SetRolename Method
ArcGIS Developer Help

IRole.SetRolename Method

Sets the role name.

[Visual Basic .NET]
Public Sub SetRolename ( _
    ByVal rolename As String _
public void SetRolename (
    string rolename
HRESULT SetRolename(
  BSTR rolename
rolename [in]

rolename is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRole Interface