Share via


MicrosoftUpdateSource Property of the IFPCUpdateCenter2 Interface

The MicrosoftUpdateSource property gets or sets a value from the FpcMicrosoftUpdateSource enumerated type that specifies the source for obtaining updates.

C++

HRESULT put_MicrosoftUpdateSource(
    FpcMicrosoftUpdateSource MicrosoftUpdateSource
);
HRESULT get_MicrosoftUpdateSource(
    FpcMicrosoftUpdateSource* pMicrosoftUpdateSource
);

Parameters

  • MicrosoftUpdateSource
    FpcMicrosoftUpdateSource that specifies the source for obtaining updates.

  • pMicrosoftUpdateSource
    Pointer to a variable that on return receives a value from the FpcMicrosoftUpdateSource enumerated type specifying the source for obtaining updates.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property MicrosoftUpdateSource As FpcMicrosoftUpdateSource

Property Value

A FpcMicrosoftUpdateSource enumerated type value that specifies the source for obtaining updates.

Remarks

This property is read/write. The default value is fpcMicrosoftUpdateSourceFallbackToDirect, which indicates that an attempt is first made to obtain updates through the Microsoft Windows Server Update Services. If this attempt fails, an attempt is made to obtain updates directly from the Microsoft Update Center.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCUpdateCenter

Send comments about this topic to Microsoft

Build date: 6/30/2010