Compartilhar via


Propriedade 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.ReadOnlyAfterCreation)> _
Public Property UserType As UserType
    Get
    Set
'Uso
Dim instance As User
Dim value As UserType

value = instance.UserType

instance.UserType = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public UserType UserType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property UserType UserType {
    UserType get ();
    void set (UserType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member UserType : UserType with get, set
function get UserType () : UserType
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.