UIConnectionInfoUtil.SetUseCustomConnectionColor Method

Definition

Stores the UseCustomConnectionColor option in the specified UIConnectionInfo object.

public:
 static void SetUseCustomConnectionColor(Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, bool useCustomValue);
public static void SetUseCustomConnectionColor (Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, bool useCustomValue);
static member SetUseCustomConnectionColor : Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * bool -> unit
Public Shared Sub SetUseCustomConnectionColor (ci As UIConnectionInfo, useCustomValue As Boolean)

Parameters

ci
UIConnectionInfo

The information of the connection.

useCustomValue
Boolean

true to use custom value; otherwise, false.

Applies to