TAILIEUCHUNG - Microsoft SQL Server 2005 Developer’s Guide- P22

Microsoft SQL Server 2005 Developer’s Guide- P22:This book is the successor to the SQL Server 2000 Developer’s Guide, which was extremely successful thanks to all of the supportive SQL Server developers who bought that edition of the book. Our first thanks go to all of the people who encouraged us to write another book about Microsoft’s incredible new relational database server: SQL Server 2005. | Developing with SMO IN THIS CHAPTER Using SMO SMO Hierarchy Building the SMO Sample Application Copyright 2006 by The McGraw-Hill Companies. Click here for terms of use. 439 440 Microsoft SQL Server 2005 Developer s Guide In this chapter you learn how you can manage SQL Server programmatically from by taking advantage of SQL Management Objects SMO . Like its predecessor Distributed Management Objects SQL-DMO SMO enables you to develop custom SQL Server management applications that you can tailor to your environment. Using SMO with or any other .Net language you can create custom SQL Server management interfaces that let you perform all the functions SQL Server s Management Studio provides. In fact SMO is the foundation for SQL Server s Management Studio. Using SMO you can list databases and tables add logins control replication import and export data and perform backups restores and many other administrative tasks. SMO opens up SQL Server to a number of custom programs that can both display and manipulate SQL Server and all of its databases and objects. In this chapter you get an overview of SMO as well as a look at its underlying architecture. Then you see how to use SMO from . In this section you see how to add the SMO object library to the Visual Basic Integrated Development Environment IDE . You also see how to perform some common tasks with SMO. Finally this chapter finishes by presenting a sample SQL Server management utility that s built using and SMO. Using SMO To get programmatic access to management functions of other database platforms you might need to master low-level networking and system interfaces if it s available at all. However SMO provides a .NET framework solution that makes SQL Server s database management functions easy to access. The hierarchy for the SMO objects used in the .NET framework is discussed in the next section of this chapter. SQL Server s SMO functions can be used by a programming language that is .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.