UIConnectionInfoUtil.GetCustomConnectionColor(UIConnectionInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The information of the connection.
Returns
The custom connection color.