次の方法で共有


Credential.Alter メソッド (String, SecureString)

SQL Server のインスタンスでの Credential オブジェクトのプロパティに対する変更をすべて更新します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub Alter ( _
    identity As String, _
    secret As SecureString _
)
'使用
Dim instance As Credential 
Dim identity As String 
Dim secret As SecureString

instance.Alter(identity, secret)
public void Alter(
    string identity,
    SecureString secret
)
public:
void Alter(
    String^ identity, 
    SecureString^ secret
)
member Alter : 
        identity:string * 
        secret:SecureString -> unit
public function Alter(
    identity : String, 
    secret : SecureString
)

パラメーター

説明

Alter メソッドは、Credential オブジェクトの作成後、または最後の Alter ステートメントの後に Credential オブジェクトのプロパティに対して行われたすべての変更を更新します。 変更が結合され、SQL Server のインスタンスへの 1 回のネットワーク トリップで SQL Server のインスタンスに送信されます。

使用例

メソッドの呼び出し

関連項目

参照

Credential クラス

Alter オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

ALTER CREDENTIAL (Transact-SQL)

資格情報 (データベース エンジン)