Compartilhar via


Método ApplicationRole.Create (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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub Create ( _
    password As SecureString _
)
'Uso
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
)

Parâmetros

Exemplos

Chamando métodos

Consulte também

Referência

ApplicationRole Classe

Sobrecarregado Create

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE ROLE (Transact-SQL)

Funções de aplicativo