WmiConnectionInfo.SetPassword メソッド
接続を確立するために使用するアカウントのパスワードを設定します。
名前空間: Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ: Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement.dll)
構文
'宣言
Public Sub SetPassword ( _
password As String _
)
'使用
Dim instance As WmiConnectionInfo
Dim password As String
instance.SetPassword(password)
public void SetPassword(
string password
)
public:
void SetPassword(
String^ password
)
member SetPassword :
password:string -> unit
public function SetPassword(
password : String
)
パラメーター
- password
型: System.String
パスワードを示す String 値です。
使用例
WMI プロバイダーを使用したサービスの管理とネットワーク設定
関連項目
参照
Microsoft.SqlServer.Management.Smo.Wmi 名前空間