다음을 통해 공유


DatabaseRole.Script Method

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

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

오버로드 목록

이름 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.

참고 항목

참조

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

관련 자료

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