示例#1
0
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetItem operation/method
 */
if ($get->GetItem(new \Ews\StructType\EwsGetItemType()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetAttachment operation/method
 */
if ($get->GetAttachment(new \Ews\StructType\EwsGetAttachmentType()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetClientAccessToken operation/method
 */
if ($get->GetClientAccessToken(new \Ews\StructType\EwsGetClientAccessTokenType()) !== false) {
    print_r($get->getResult());
} else {
    print_r($get->getLastError());
}
/**
 * Sample call for GetDelegate operation/method
 */