Create 方法 (SecureString)
Creates an application role on the instance of SQL Server as defined by the ApplicationRole object and with the specified password.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Create ( _
password As SecureString _
)
'用途
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
)
參數
- password
型別:System.Security. . :: . .SecureString
A SecureString value that specifies the password required when accessing the application role.