PersonalInfo.VpnAccess Property

Gets or sets the type of access that is assigned to the user account for virtual private networks (VPNs).

Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)

Usage

'Usage
Dim instance As PersonalInfo
Dim value As RemoteAccessType

value = instance.VpnAccess

instance.VpnAccess = value

Syntax

'Declaration
<DataMemberAttribute> _
Public Property VpnAccess As RemoteAccessType
[DataMemberAttribute] 
public RemoteAccessType VpnAccess { get; set; }
[DataMemberAttribute] 
public:
property RemoteAccessType VpnAccess {
    RemoteAccessType get ();
    void set (RemoteAccessType value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public RemoteAccessType get_VpnAccess ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_VpnAccess (RemoteAccessType value)
CompilerGeneratedAttribute 
public function get VpnAccess () : RemoteAccessType

CompilerGeneratedAttribute 
public function set VpnAccess (value : RemoteAccessType)

Property Value

One of the RemoteAccessType enumeration values.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 7 x32, Windows 7 x64, Windows Server 2008 R2 x64, Windows Server 2012 x64, Windows Server 2012 R2 x64

Target Platforms

Windows Server 2012 R2 x64, Windows Server 2012 R2 Essentials, Windows Server 2012 Essentials

See Also

Reference

PersonalInfo Class
PersonalInfo Members
Microsoft.WindowsServerSolutions.Users Namespace

Copyright © 2013 by Microsoft Corporation. All rights reserved.