UIConnectionInfoUtil.GetCustomConnectionColor(UIConnectionInfo) Method

Definition

Retrieves the custom connection color with the specified connection information.

public:
 static System::Drawing::Color GetCustomConnectionColor(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci);
public static System.Drawing.Color GetCustomConnectionColor (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci);
static member GetCustomConnectionColor : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo -> System.Drawing.Color
Public Shared Function GetCustomConnectionColor (ci As UIConnectionInfo) As Color

Parameters

ci
UIConnectionInfo

The information of the connection.

Returns

The custom connection color.

Applies to