ConnectedStorageSpace.GetSyncOnDemandForUserAsync Method (User, String)

Gets a connected storage space on demand for a specific service configuration ID (SCID) for the specified user.

Syntax

public:
static IAsyncOperation<ConnectedStorageSpace^ >^ GetSyncOnDemandForUserAsync(
         User^ user,
         String^ serviceConfigurationId
)  

Parameters

user
Type: User 

The user to retrieve the connected storage space for.

serviceConfigurationId
Type: String 

 The SCID for the connected storage space.

Note GetSyncOnDemandForUserAsync returns ConnectedStorageErrorStatus::NoAccess for all SCIDs except the title’s primary SCID, which is functionally equivalent to calling the version of GetSyncOnDemandForUserAsync without a serviceConfigurationId parameter.

Return value

Type: IAsyncOperation<ConnectedStorageSpace^ > 

Returns a connected storage space on demand for a SCID for the specified user.

Requirements

Namespace: Windows.Xbox.Storage

Metadata: windows.winmd

See also

Reference

ConnectedStorageSpace Class

ConnectedStorageSpace Members

Windows.Xbox.Storage Namespace