Condividi tramite


Proprietà User.UserType

Gets or sets the type of user.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property UserType As UserType 
    Get 
    Set
'Utilizzo
Dim instance As User 
Dim value As UserType 

value = instance.UserType

instance.UserType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public UserType UserType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
virtual property UserType UserType {
    UserType get () sealed;
    void set (UserType value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
abstract UserType : UserType with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
override UserType : UserType with get, set
final function get UserType () : UserType 
final function set UserType (value : UserType)

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo.UserType
A UserType object value that specifies the type of the user.

Implementa

IUserOptions.UserType

Esempi

Gestione di utenti, ruoli e account di accesso

Vedere anche

Riferimento

User Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Entità (Motore di database)

CREATE USER (Transact-SQL)