ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortal Class / SignOut Method

In This Topic
    SignOut Method (ArcGISPortal)
    In This Topic
    Sign out from this portal instance This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used.
    Syntax
    public bool SignOut()
    Public Function SignOut() As Boolean

    Return Value

    Exceptions
    ExceptionDescription
    Thrown when a method is called on the wrong Pro thread
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also