UIConnectionInfoUtil.SetUseCustomConnectionColor 方法

定義

在指定的 UIConnectionInfo 物件中儲存 UseCustomConnectionColor 選項。

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)

參數

ci
UIConnectionInfo

連接的資訊。

useCustomValue
Boolean

true 表示使用自訂值,否則為 false

適用於