EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

IBitsPeerCacheRecord::GetOriginUrl method

Gets the origin URL of the cached file.

Syntax


HRESULT GetOriginUrl(
  [in]  LPWSTR *ppOriginUrl
);

Parameters

ppOriginUrl [in]

Null-terminated string that contains the origin URL of the cached file. Call the CoTaskMemFree function to free ppOriginUrl when done.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

This URL may be different than the URL originally specified in the BITS job if IBackgroundCopyJobHttpOptions::SetSecurityFlags is set to BG_HTTP_REDIRECT_POLICY_ALLOW_REPORT or BG_HTTP_REDIRECT_POLICY_DISALLOW.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bits3_0.h (include Bits.h)

IDL

Bits3_0.idl

Library

Bits.lib

See also

IBitsPeerCacheRecord

 

 

Send comments about this topic to Microsoft

Build date: 11/12/2012

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)

Community-Beiträge

HINZUFÜGEN
© 2013 Microsoft. Alle Rechte vorbehalten.