RegisterOnlineBackupWithWindowsServerBackup function

The RegisterOnlineBackupWithWindowsServerBackup function registers a cloud backup provider with Windows Server Backup.

Syntax


HRESULT WINAPI RegisterOnlineBackupWithWindowsServerBackup(
  _In_ WSB_OB_REGISTRATION_INFO *pOBRegistrationInfo
);

Parameters

pOBRegistrationInfo [in]

Pointer to a WSB_OB_REGISTRATION_INFO structure.

Return value

The return values listed here are in addition to the normal HRESULTs that may be returned at any time from the function.

S_OK

Operation successful.

WSB_ONLINE_INVALID_PARAMETER_ERROR

The information passed to Windows Server Backup is not valid.

WSB_ONLINE_REGISTRATION_ALREADY_EXISTS

Another cloud backup provider is already registered with Windows Server Backup.

Remarks

If any other cloud backup provider is already registered with Windows Server Backup, DeregisterOnlineBackupFromWindowsServerBackup must be called before calling RegisterOnlineBackupWithWindowsServerBackup.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

WsbOnline.h

DLL

WsbOnline.dll

See also

Cloud Backup Provider API Functions
WSB_OB_REGISTRATION_INFO

 

 

Show: