ISyncSchedule::SetConnection method
[The ISyncSchedule::SetConnection method is available for use through Windows XP. It is not available in subsequent versions of Windows.]
Sets information concerning a synchonization schedule's connection.
Syntax
HRESULT SetConnection(
[out] LPCWSTR pwszConnectionName,
[out] DWORD dwConnType
);
Parameters
pwszConnectionName [out]
Type: LPCWSTR
A pointer to a buffer containing the name of the connection.
dwConnType [out]
Type: DWORD
One of the following values specifying the connection type.
SYNCSCHEDINFO_FLAGS_CONNECTION_LAN (0x0000)
LAN connection.
SYNCSCHEDINFO_FLAGS_CONNECTION_WAN (0x0001)
Wide area network (WAN) connection.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
Syncmgr.h |
IDL |
Syncmgr.idl |
DLL |
Mobsync.dll |