Contents

getDatabaseWithDatabaseScope

Returns the specified (public, private, or shared) database.

Declaration

CloudKit.Database getDatabaseWithDatabaseScope(
	CloudKit.DatabaseScope databaseScope
);

Parameters

  • databaseScope:

    Specifies the type of database to return.

Return Value

The specified database.

Discussion

This is a convenience method that you can use instead of the specific properties.

See Also

Getting the Public and Private Databases