Propriedade do RDL User.UserType

Gets or sets the type of user.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property UserType As UserType 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Implementa

IUserOptions.UserType

Exemplos

Gerenciando usuários, funções e logons

Consulte também

Referência

User Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Entidades (Mecanismo de Banco de Dados)

CREATE USER (Transact-SQL)