ArcObjects Library Reference (GISClient)  

IAGOServerObjectAdmin.GetCanPublish Method

Indicates if the signed in user can publish hosted services.

[Visual Basic .NET]
Public Function GetCanPublish ( _
) As Boolean
[C#]
public bool GetCanPublish (
);
[C++]
HRESULT GetCanPublish(
  VARIANT_BOOL* pCanPublish
);
[C++]

Parameters

pCanPublish [out, retval]   pCanPublish is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IAGOServerObjectAdmin Interface