共用方式為


RegisteredServer.UseCustomConnectionColor 屬性

Gets or sets a value indicating whether the object uses a custom connection color.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property UseCustomConnectionColor As Boolean 
    Get 
    Set
'用途
Dim instance As RegisteredServer 
Dim value As Boolean 

value = instance.UseCustomConnectionColor

instance.UseCustomConnectionColor = value
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public bool UseCustomConnectionColor { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property bool UseCustomConnectionColor {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member UseCustomConnectionColor : bool with get, set
function get UseCustomConnectionColor () : boolean 
function set UseCustomConnectionColor (value : boolean)

屬性值

型別:System.Boolean
true if the object use a custom connection color; otherwise, false.

請參閱

參考

RegisteredServer 類別

Microsoft.SqlServer.Management.RegisteredServers 命名空間