User.Create Method (SecureString)
Creates a database user on the instance of SQL Server as defined by the User object with specified password using a secure string.
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 User
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
The user password.