Share via


GetTargetUri method of the MsftSil_ManagementTasks class

Retrieves and optionally specifies the URI to which the Software Inventory Logging stream provider publishes data.

Syntax

uint32 GetTargetUri(
  [out] string uri,
  [out] string certificateThumbprint
);

Parameters

uri [out]

A string that receives the URI of the resource.

certificateThumbprint [out]

On success, returns a string that contains 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