Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)