Share via


ApplicationRole.Create Method (String)

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 String _
)
'Usage
Dim instance As ApplicationRole
Dim password As String

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

Parameters

  • password
    Type: System.String
    A String value that specifies the password required when accessing the application role.

Examples

Calling Methods