OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / LocationBase Class / AccessCode Property



In This Topic
    AccessCode Property
    In This Topic
    The access code assigned to this Location.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute(False)>
    <DisplayNameAttribute("Access Code")>
    Public Property AccessCode As String
    'Usage
     
    
    Dim instance As LocationBase
    Dim value As String
     
    instance.AccessCode = value
     
    value = instance.AccessCode
    [DataMember(false)]
    [DisplayName("Access Code")]
    public string AccessCode {get; set;}
    [DataMember(false)]
    [DisplayName("Access Code")]
    public:
    property String^ AccessCode {
       String^ get();
       void set (    String^ value);
    }
    Remarks
    Typically contains any keypad or gate entry codes required to access to the location.
    The maximum allowed length for this field is 50 characters.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also