User.Create 方法 (SecureString)
Creates a database user on the instance of SQL Server as defined by the User object with specified password using a secure string.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Create ( _
password As SecureString _
)
'用途
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
)
參數
- password
型別:System.Security.SecureString
The user password.