共用方式為


Create 方法 (String)

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 String _
)
'用途
Dim instance As ApplicationRole
Dim password As String

instance.Create(password)
public void Create(
    string password
)
public:
void Create(
    String^ password
)
member Create : 
        password:string -> unit 
public function Create(
    password : String
)

參數

範例

呼叫方法