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)
Syntax
'Declaration
Public Interface IRoleFactory
'Usage
Dim instance As IRoleFactory
public interface IRoleFactory
public interface class IRoleFactory
type IRoleFactory = interface end
public interface IRoleFactory
The IRoleFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateApplicationRole | Creates an application role object that belongs to the specified database object and has the specified name. | |
CreateDatabaseRole | Creates a database role object that belongs to the specified database object and has the specified name. |
Top
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace