Share via


ServerRole.IsFixedRole Property

Gets a Boolean which indicates whether the server role is fixed.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsFixedRole As Boolean 
    Get
'Usage
Dim instance As ServerRole 
Dim value As Boolean 

value = instance.IsFixedRole
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsFixedRole { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsFixedRole {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsFixedRole : bool
function get IsFixedRole () : boolean

Property Value

Type: System.Boolean
A Boolean which is true the server role is fixed; otherwise false.

See Also

Reference

ServerRole Class

Microsoft.SqlServer.Management.Smo Namespace