WSMan.SessionFlagUseBasic メソッドは、IWSMan::CreateSession の flags パラメーターで使用する認証フラグWSManFlagUseBasic の値を返します。
WSManFlagUseBasic は 、__WSManSessionFlags 列挙の定数です。 詳細については、「 認証定数」を参照してください。
構文
HRESULT SessionFlagUseBasic(
[out] long *flags
);
パラメーター
[out] flags
定数の値。
戻り値
このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。
要件
| サポートされている最小のクライアント | Windows Vista |
| サポートされている最小のサーバー | Windows Server 2008 |
| 対象プラットフォーム | Windows |
| ヘッダー | wsmandisp.h |
| Library | WSManDisp.tlb |
| [DLL] | WSMAuto.dll |