หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Sets the database owner.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | Description |
|---|---|
| Database.SetOwner (String) |
Sets the database owner.
|
| Database.SetOwner (String, Boolean) |
Sets the database owner.
|
See Also
Reference
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
How to: Create, Alter, and Remove a Database in Visual Basic .NET
sp_changedbowner (Transact-SQL)
CREATE DATABASE (Transact-SQL)