次の方法で共有


IWSManEx::SessionFlagUseNoAuthentication メソッド (wsmandisp.h)

WSMan.SessionFlagUseNoAuthentication メソッドは、IWSMan::CreateSessionflags パラメーターで使用する認証フラグ WSManFlagUseNoAuthentication の値を返します。

WSManFlagUseNoAuthentication、__WSManSessionFlags 列挙の定数です。 詳細については、「 認証定数」を参照してください。

構文

HRESULT SessionFlagUseNoAuthentication(
  [out] long *flags
);

パラメーター

[out] flags

定数の値。

戻り値

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows Vista
サポートされている最小のサーバー Windows Server 2008
対象プラットフォーム Windows
ヘッダー wsmandisp.h
Library WSManDisp.tlb
[DLL] WSMAuto.dll

こちらもご覧ください

IWSManEx

WSMan.SessionFlagUseNoAuthentication