次の方法で共有


User.Create メソッド (SecureString)

セキュリティで保護された文字列を使用する指定したパスワードを使用して、SQL Server のインスタンス上でユーザー オブジェクトによる定義に基づいてデータベース ユーザーを作成します。

名前空間:  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
)

パラメーター

関連項目

参照

User クラス

Create オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間