Condividi tramite


DatabaseRole.Script Method

Generates a Transact-SQL script that can be used to re-create the SQL Server database role.

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Elenco degli overload

Nome 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.

Vedere anche

Riferimento

DatabaseRole Class
DatabaseRole Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

Scripting
Managing Users, Roles, and Logins
Database Roles
CREATE ROLE (Transact-SQL)