Share via


Server.IsSingleUser Property

Gets the property value whether the user is single.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsSingleUser As Boolean 
    Get
'Usage
Dim instance As Server 
Dim value As Boolean 

value = instance.IsSingleUser
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsSingleUser { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property bool IsSingleUser {
    bool get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract IsSingleUser : bool
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override IsSingleUser : bool
final function get IsSingleUser () : boolean

Property Value

Type: System.Boolean
True if the user is single; otherwise, false.

Implements

IServerInformation.IsSingleUser

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace