Tài liệu Module 4: Incorporating CDO for Exchange 2000 into a Web Solution ppt

72 619 0
Tài liệu Module 4: Incorporating CDO for Exchange 2000 into a Web Solution ppt

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Contents Overview 1 Introduction to CDO 2 CDO Architecture 6 The CDO for Exchange Object Model 8 Adding Messaging Functionality 14 Adding Contact Functionality 24 Adding Calendar Functionality 29 Administering Exchange 2000 by Using CDO for Exchange Management 44 Lab A: Incorporating CDO for Exchange into a Web Solution 48 Lab B: Performing Basic Exchange 2000 Administrative Tasks by Using CDO for Exchange Management 58 Review 64 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution Information in this document is subject to change without notice. The names of companies, products, people, characters, and/or data mentioned herein are fictitious and are in no way intended to represent any real individual, company, product, or event, unless otherwise noted. Complying with all applicable copyright laws is the responsibility of the user. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Microsoft Corporation. If, however, your only means of access is electronic, permission to print one copy is hereby granted. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.  2000 Microsoft Corporation. All rights reserved. Microsoft, Active Directory, ActiveX, FrontPage, Hotmail, JScript, MSN, Outlook, PowerPoint, Visual Basic, Visual C++, Window Media, Visual InterDev, Visual Studio, Win32, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners. Project Lead: Samantha Smith Instructional Designers: Sangeeta Garg (NIIT (USA) Inc.), Marilyn McCune Instructional Software Design Engineer: William Rebozo Subject Matter Experts: Jayme Bowers (ECMS Inc.), John Christian (ECMS Inc.), Robert Ginsburg (ECMS Inc.), Frederick Volking (ECMS Inc Technical Contributors: Thomas Rizzo, Brent Ingraham, Navin Kachroo, Robert Brown, Alex Hopmann, Jim Reitz Graphic Artist: Kirsten Larson (S&T Consulting) Editing Manager: Lynette Skinner Editors: Kelly Baker, Nancy Finch Copy Editor: Ed McKillop (S&T Consulting) Production Manager: Miracle Davis Print Coordinator: Marlene Lambert (Online Training Solutions Inc.) Online Production Coordinator: Jenny Boe Test Manager: Eric R. Myers Creative Director, Media/Sim Services: David Mahlmann Web Development Lead: Lisa Pease CD Build Specialist: Eric Wagoner Localization Manager: Rick Terek Operations Coordinator: John Williams Manufacturing Support: Laura King; Kathy Hershey Lead Product Manager, Release Management: Bo Galford Program Manager, Knowledge Management: Josh Barnhill Lead Product Manager, Knowledge Management: Janet Wilson Group Manager, Courseware Infrastructure: David Bramble Director, Developer Training: Juan Fernando Rivera General Manager: Robert Stewart Module 4: Incorporating CDO for Exchange 2000 into a Web Solution iii Instructor Notes This module provides students with the information necessary to use Collaboration Data Objects (CDO) to create collaborative solutions based on the Microsoft ® Web Storage System. The module introduces CDO, discusses the various versions of CDO available with Microsoft Windows ® 2000 and Microsoft Exchange 2000 Server, and describes the CDO architecture and the components of the CDO for Exchange 2000 Server object model. The module then discusses adding messaging, contact, and calendar functionalities in a Web Storage System application. After completing this module, students will be able to: ! Describe the various versions of CDO available with Windows 2000 and Exchange 2000. ! Describe the CDO architecture and how it is possible to use the architecture to incorporate CDO into a Web Storage System solution. ! Identify the components of the CDO for Exchange object model, and describe how to use them to develop a Web solution. ! Add the messaging functionality in a Web application by using the CDO Message object. ! Add contact functionality in a Web application by using the CDO Person object. ! Add calendar functionality in a Web application by using the Appointment and CalendarMessage objects. ! Perform Exchange 2000 administration tasks by using CDO for Exchange Management. In Lab A, Incorporating CDO for Exchange into a Web Solution, students will retrieve a message by using ActiveX ® Data Objects (ADO) and then use CDO for Exchange to send the message, create a meeting, and attach supporting information and links to the meeting item by using collaborative objects. In Lab B, Performing Basic Exchange 2000 Administrative Tasks by Using CDO for Exchange Management, students will create a new public folder, create a new mailbox, and use CDO for Exchange Management objects to build and mount a new information store. Presentation: 170 Minutes Labs: 60 Minutes iv Module 4: Incorporating CDO for Exchange 2000 into a Web Solution Materials and Preparation This section provides the materials and preparation tasks that you need to teach this module. Required Materials To teach this module, you need the following materials: ! Microsoft PowerPoint ® file 2019A_04.ppt ! Module 4, “Incorporating CDO for Exchange 2000 into a Web Solution” Preparation Tasks To prepare for this module, you should: ! Read all of the materials for this module. ! Complete the labs. ! Review the section on CDO in the Exchange 2000 Server Software Development Kit (SDK). Module 4: Incorporating CDO for Exchange 2000 into a Web Solution v Module Strategy Use the following strategy to present this module: ! Introduction to CDO Present a brief overview of CDO. Discuss the various versions of CDO. Emphasize that whereas previous versions of CDO, such as CDO versions 1.1, 1.2, and 1.2.1, relied on MAPI as the data access and transport format, CDO for Windows 2000 and CDO for Exchange are based on Internet- defined standards. ! CDO Architecture Describe the CDO architecture and how it provides access to the Web Storage System and the Active Directory ™ directory service. ! The CDO for Exchange Object Model Describe the components of the CDO for Exchange object model. Describe the Configuration object and the IDataSource interface, and explain the purpose of each. Emphasize that each top-level CDO object stores a reference to a central Configuration object through a Configuration property on an associated interface. Explain that all top-level CDO objects expose an implementation of the IDataSource interface. ! Adding Messaging Functionality Describe the Message object. Emphasize that before sending a message, it is a good practice to resolve each recipient address to avoid getting undeliverable messages. Explain how Exchange 2000 resolves a recipient’s address. Next, demonstrate how to create and send a message by using the Message object and the Addressee object. Lastly, show how to modify the Multipurpose Internet Mail Extensions (MIME) content in a message. ! Adding Contact Functionality Describe the Person object and show how to create contacts by using this object. Next, show how to search and display contacts in Exchange 2000 by using CDO and ADO. Explain that Exchange 2000 supports the Internet industry vCard standard for obtaining contact information through the CDO Person object. Lastly, show how to export and import contact information by using the vCard format. vi Module 4: Incorporating CDO for Exchange 2000 into a Web Solution ! Adding Calendar Functionality Start this section by explaining that calendar functions in Exchange 2000 can be used to create single or recurring appointments, meeting requests, and personal and group scheduling. Next, describe the Appointment object. Explain what a recurring appointment is and describe the steps to create it. In the next topic, show how to schedule a meeting request by using the Appointment and CalendarMessage objects. Show how to add attendees to an appointment and send a meeting request to the specified users. Next, explain how time zones work in Exchange 2000 and how to use the Configuration object to manipulate them. Explain that before sending a meeting request, it is possible check an attendee’s calendar to see when the attendee is available. Show how to retrieve an attendee’s free/busy status by using the GetFreeBusy method of the Addressee object. In the last topic, explain that for recurring appointments, the Web Storage System stores a single instance of the appointment. Recurring appointments are expanded into individual instances when the Calendar folder is queried in the Web Storage System. Outline the steps for querying and modifying recurring appointments. ! Administering Exchange 2000 by Using CDO for Exchange Management In the last section of this module, discuss some applications that can be developed by using CDO for Exchange Management. Next, discuss the COM classes of CDO for Exchange Management model used to programmatically administer Exchange 2000. Lastly, show how to use each CDOEXM object to enumerate storage groups, public and private stores in the storage groups, and the folder trees. Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 1 Overview ! Introduction to CDO ! CDO Architecture ! The CDO for Exchange Object Model ! Adding Messaging Functionality ! Adding Contact Functionality ! Adding Calendar Functionality ! Administering Exchange 2000 by Using CDO for Exchange Management You can access items in the Microsoft ® Web Storage System by using many protocols and application programming interfaces (APIs). Collaboration Data Objects (CDO) is an API that consists of a powerful set of Component Object Model (COM) components that you can use to manage folders, messages, Microsoft Exchange 2000 Server mailboxes, public stores and public folder hierarchies, appointments, contacts, and all other items in the Web Storage System. After completing this module, you will be able to: ! Describe the various versions of CDO available with Microsoft Windows ® 2000 and Exchange 2000. ! Describe the CDO architecture and how you can use the architecture to incorporate CDO into a Web Storage System solution. ! Identify the components of the CDO for Exchange 2000 Server object model, and describe how to use them to develop a Web solution. ! Add the messaging functionality in a Web application by using the CDO Message object. ! Add contact functionality in a Web application by using the CDO Person object. ! Add calendar functionality in a Web application by using the Appointment and CalendarMessage objects. ! Perform Exchange 2000 administration tasks by using CDO for Exchange Management. Topic Objective To provide an overview of the module topics and objectives. Lead-in In this module, you will learn about CDO for Exchange and how to use CDO to create collaborative solutions based on the Web Storage System. 2 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution # ## # Introduction to CDO ! Overview of CDO ! Implementations of CDO CDO is a tool with which to easily develop collaborative solutions based on the Web Storage System. This is possible because CDO has a library of objects to create and manage collaborative data, such as Internet messages, appointments, contacts, and public folders. With the exception of CDO for Microsoft Windows NT ® , previous versions of CDO, such as CDO versions 1.1, 1.2, and 1.2.1, relied heavily on MAPI as the data access and transport format. CDO for Windows 2000 and CDO for Exchange are based on Internet-defined standards, such as Simple Mail Transfer Protocol (SMTP) and Network News Transport Protocol (NNTP), and use standardized data-access formats, such as OLE DB and ActiveX ® Data Objects (ADO). By using CDO, you can build complete messaging, calendar, and contact management applications that run on Windows 2000 and Exchange 2000. Topic Objective To introduce the topics in this section. Lead-in Use the latest version of CDO to build complete messaging, calendar, and contact management applications running on Windows 2000 and Exchange 2000. Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 3 Overview of CDO CDO Is Used for $ Creating and sending bulk e-mail messages $ Appending disclaimers or other notices to e-mail messages sent through Exchange $ Creating personal appointments and group schedules $ Creating and sending meeting requests to attendees $ Exporting and importing contact information using the vCard format directly into the Web Storage System or Active Directory CDO has built-in business logic that you can use to easily access Web Storage System data to create collaborative Web solutions. CDO recognizes standardized Internet content types, such as Multipurpose Internet Mail Extensions (MIME), MIME Encapsulation of Aggregate Hypertext Transfer Protocol Documents (MHTML), vCard, and ICalendar. Some of the solutions, or applications, that you can develop by using CDO include: ! Creating and sending bulk e-mail messages. ! Appending disclaimers or other notices to e-mail messages sent through Exchange 2000. ! Creating personal appointments and group schedules. ! Creating and sending meeting requests to attendees. ! Exporting and importing contact information by using the vCard format directly into the Web Storage System or the Active Directory ™ directory service. You can also create collaborative Web solutions based on the Web Storage System and Active Directory by using CDO in conjunction with ADO version 2.5 and Active Directory Services Interfaces (ADSI) components. ADO and ADSI provide access to the Web Storage System and Active Directory, respectively. Topic Objective To provide an overview of CDO. Lead-in CDO is an API with built-in business logic that developers can use to easily create complex collaborative applications. Discuss how CDO has built- in business logic and supports standardized Internet content (such as MIME, vCARD, and iCalendar). Describe some of the applications that can be developed by using CDO. Explain that a vCard is a standardized Internet content type used to describe attributes of people (contacts). 4 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution Implementations of CDO ! CDO for Windows 2000 $ Builds bulk mailing, transport protocol event sinks, and Web-based messaging applications ! CDO for Exchange 2000 Server $ Builds powerful Outlook-style collaboration applications using the Web Storage System ! CDO Workflow Objects $ Creates process definitions and action tables that model your application's workflow processes ! CDO for Exchange Management $ Administers Exchange mailboxes and servers Different versions of CDO are available with the installation of Windows 2000 and Exchange 2000. CDO for Windows 2000 CDO for Windows 2000 (Cdosys.dll) has an object model that you can use to develop messaging applications on Windows 2000. CDO for Windows 2000 is based on the SMTP and NNTP standards and is available as a system component with Microsoft Windows 2000 Server installations. It is the standard API that you can use for building bulk mailing, transport protocol event sinks, and Web-based messaging applications on Windows 2000 Server. CDO for Windows 2000 provides enhanced functionality as compared to the current CDO for Windows NT Server library, which is available through Windows NT version 4.0 Option Pack 1. Although CDO for Windows 2000 provides the same functionality as CDO for Microsoft Windows NT Server, with some additional features, it is important to modify any code written for CDO for Windows NT Server for it to work with CDO for Windows 2000. CDO for Exchange CDO for Exchange (Cdoex.dll) is installed with Exchange 2000. CDO for Exchange upgrades the registration for CDO for Windows 2000 to CDO for Exchange. Applications based on CDO for Windows 2000 remain intact because CDO for Exchange includes full functionality of CDO for Windows 2000. CDO for Exchange uses Internet standards and OLE DB data access to obtain and manipulate data in the Web Storage System, but is not based solely on the MAPI protocol, as was the previous version of CDO. When CDO for Exchange is installed, all of the existing CDO 1.2 and MAPI applications will port to Exchange 2000 and will work concurrently with applications based on CDO for Exchange. Topic Objective To describe the versions of CDO. Lead-in Various versions of CDO are available with the installation of Windows 2000 and Exchange 2000. The previous version of CDO (1.2.1), available with Exchange 5.5 has been completely remodeled and is no longer dependent on the MAPI protocol. Discuss each current version of CDO. Explain how CDO for Windows 2000 and CDO for Exchange relate to previous versions of CDO. Discuss CDO Workflow Objects and CDO for Exchange Management giving examples of each. [...]... CDO for Exchange Management CDO for Exchange Management (Cdoexm.dll) is installed with Exchange 2000 and consists of a set of objects for administering Exchange 2000 servers By using CDO for Exchange Management, you can programmatically manage items in Exchange 2000, such as public stores, mailbox stores, folder trees, and storage groups You can use CDO for Exchange Management for server applications... that are typically used in Internet applications, such as automatic registration of users, and creating and managing e-mail accounts You can also install CDO for Exchange Management on a client computer to enable remote administration of Exchange 2000 6 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution CDO Architecture Topic Objective To show the CDO architecture Visual Basic, Visual... conference rooms and other resources Exchange 2000 provides a calendar for each account You can also place appointments and meetings in public folders for group calendars 30 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution The Appointment Object Topic Objective To describe an Appointment object ! You Can Save Appointments and Meetings to a Personal Calendar File or to a Shared Calendar File... contacts, appointments, folders, and specific items that are stored in the Web Storage System Additionally, CDO for Exchange has programming logic built into the object model that you can use to create and manipulate items in the Web Storage System to create complex applications in Exchange 2000 with minimal code Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 9 Components of the CDO. .. and Versioning (HTTP/WebDAV), Microsoft OLE DB Provider for Exchange 2000 Server, SMTP, NNTP, IMAP4, and MAPI The CDO for Exchange component provides a set of COM classes that you can use in your application to create, access, modify, and send messages in standardized Internet content, such as MIME, vCard, and ICalendar Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 15 The Message.. .Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 5 CDO for Exchange expands the functionality of the CDO for Windows 2000 messaging components to include objects for calendar and contact management Thus you can build powerful Web applications in the style of Microsoft Outlook® 2000 by using the Web Storage System CDO for Exchange is a server-based object model that can be used... HomePostalAddress 'property which concatenates all the postal information ' '(street, city, state, zip) Response.Write " Who lives at: " & objPerson.HomePostalAddress Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 27 Searching and Displaying Contacts by Using CDO and ADO Topic Objective To show how to search and display contacts in Exchange 2000 ADO Recordset Binds CDO Lead-in By using ADO,... page into MHTML-formatted body parts on this message Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 17 Resolving a Recipient's Address Topic Objective To explain how Exchange 2000 resolves a recipient’s address ! Exchange Checks Each Address Against Active Directory or a Contact Folder ! If an Address Is Found, It Is Considered Resolved ! If an Address Can Be Matched with More Than... Description CheckName Attempts to resolve an addressee directory object using the information specified in the object GetFreeBusy Gets the free/busy information for a resolved attendee AmbiguousName A collection of all addressees that match the ambiguous criteria used to resolve a particular addressee Module 4: Incorporating CDO for Exchange 2000 into a Web Solution 19 Creating and Sending a Message Topic... MIME-formatted stream, including the header information, use the GetStream method Module 4: Incorporating CDO for Exchange 2000 into a Web Solution The following VBScript code creates a Message object, and adds BodyPart objects to the message by using an ADO stream to manipulate and save the changes back to the BodyPart Dim Msg, iBodyPart, iBodyParts, Strm Set Msg = CreateObject( "CDO. Message") 'Get IBodyPart on . Performing Basic Exchange 2000 Administrative Tasks by Using CDO for Exchange Management 58 Review 64 Module 4: Incorporating CDO for Exchange 2000 into a Web Solution. Functionality 29 Administering Exchange 2000 by Using CDO for Exchange Management 44 Lab A: Incorporating CDO for Exchange into a Web Solution 48 Lab B: Performing

Ngày đăng: 11/12/2013, 14:15

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan