Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Generates a Transact-SQL script that can be used to re-create the SQL Server database role.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | Description |
|---|---|
| DatabaseRole.Script () |
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server database role.
|
| DatabaseRole.Script (ScriptingOptions) |
Generates a Transact-SQL script that can be used to re-create the Microsoft SQL Server database role as specified by the scripting options.
|
See Also
Reference
DatabaseRole Class
DatabaseRole Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Scripting
Managing Users, Roles, and Logins
Database Roles
CREATE ROLE (Transact-SQL)