Share via


RegisteredServer.UseCustomConnectionColor Property

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property UseCustomConnectionColor As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

RegisteredServer Class

Microsoft.SqlServer.Management.RegisteredServers Namespace