Share via


ApplicationRole.Create Method (SecureString)

Creates an application role on the instance of SQL Server as defined by the ApplicationRole object and with the specified password.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Create ( _
    password As SecureString _
)
'Usage
Dim instance As ApplicationRole 
Dim password As SecureString

instance.Create(password)
public void Create(
    SecureString password
)
public:
void Create(
    SecureString^ password
)
member Create : 
        password:SecureString -> unit
public function Create(
    password : SecureString
)

Parameters

Examples

Calling Methods

See Also

Reference

ApplicationRole Class

Create Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ROLE (Transact-SQL)

Application Roles