IRoleFactory Interface

 

Provides methods that can be used to create database role and application role objects.

Namespace:   Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public interface IRoleFactory

NameDescription
System_CAPS_pubmethodCreateApplicationRole(IDatabase, String)

Creates an application role object that belongs to the specified database object and has the specified name.

System_CAPS_pubmethodCreateDatabaseRole(IDatabase, String)

Creates a database role object that belongs to the specified database object and has the specified name.

Return to top
Show: