Share via


Information.IsSingleUser Property

Gets the Boolean value that specifies whether the instance of SQL Server is read-only.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property IsSingleUser As Boolean
    Get
'Usage
Dim instance As Information
Dim value As Boolean

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the instance of SQL Server is read-only.
If True, the instance of SQL Server is read-only. Otherwise, False (default).