Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
'Dim service As New ExchangeService(requestedServerVersion:=ExchangeVersion.Exchange2010)
Dim service As New ExchangeService(ExchangeVersion.Exchange2010_SP1)
Dim tmpSchDate As String, tmpEventName As String, tmpEmployeeName As String, tmpEmpID As Integer, tmpPartName As String, tmpCallTime As String, tmpStartTime As String
Dim tmpLocationID As Integer, tmpPositionId As Integer, tmpTypeName As String, tmpReason As String, tmpActualStartTime As String, tmpStatus As String, tmpDateCreated As String
Private Shared Function RedirectionUrlValaditionCallback(ByVal redirectionUrl As String) As Boolean
Dim result As Boolean = False
Dim redirectionuri As New Uri(redirectionUrl)
If redirectionuri.Scheme = "https" Then
result = True
End If
Return result
End Function
Private Function ValidateCertificate(ByVal sender As Object, ByVal certificate As X509Certificate, ByVal chain As X509Chain, ByVal sslPolicyErrors As SslPolicyErrors) As Boolean
'Return True to force the certificate to be accepted.