ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMWMSServiceConnection Class / ServerConnection Property

ServerConnection Property (CIMWMSServiceConnection)
Gets or sets the server connection.
Syntax
public CIMInternetServerConnectionBase ServerConnection {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also