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
- password
Type: System.Security.SecureString
A SecureString value that specifies the password required when accessing the application role.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace