共用方式為


UserType 屬性

Gets or sets the type of user.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property UserType As UserType
    Get
    Set
'用途
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)

屬性值

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