次の方法で共有


SetTargetUri method of the MsftSil_ManagementTasks class

Specifies the URI to which the Software Inventory Logging stream provider publishes data.

Syntax

uint32 SetTargetUri(
  [in] string uri,
  [in] string certificateThumbprint
);

Parameters

uri [in]

The URI of the resource.

certificateThumbprint [in]

The certificate thumb print of the resource.

Return value

If this method succeeds, it returns 0. If this method fails, it returns 1. For a complete list of return values, see MI_Result enumeration.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\InventoryLogging
MOF
SILProvider.mof
DLL
SILProvider.dll

See also

MsftSil_ManagementTasks