Propriedade do RDL Information.IsSingleUser

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

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property IsSingleUser As Boolean 
    Get
'Uso
Dim instance As Information 
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:
property bool IsSingleUser {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsSingleUser : bool
function get IsSingleUser () : boolean

Valor da propriedade

Tipo: 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).

Exemplos

Configurando o SQL Server no SMO

Consulte também

Referência

Information Classe

Namespace Microsoft.SqlServer.Management.Smo