SYSTEM$ALLOW_PROVIDER_TO_SHARE_INTO_VPS

functionnot supportedCore SQL functions

docs.snowflake.com ↗

System functions

Allows a provider to share listings into the current VPS account. Using a token supplied by a provider of listings, call this function to allow that provider to share listings into the current VPS account. Consumers planning to use a VPS Private Listing pass in the token received from the provider to allow the provider to share listings with them. Calling this function requires the ORGADMIN role.

Syntax

SYSTEM$ALLOW_PROVIDER_TO_SHARE_INTO_VPS(
  '<token>',
  '<option>'
);

Parameters

NameRequiredDescription
tokenrequiredSpecifies the token received from a provider containing information about their organization.
optionoptionalSpecifies the options for this function. Specify the string DRY_RUN to return the name of the provider associated with the token without enabling sharing for that provider.

Returns

- If called with the DRY_RUN option, returns the organization name of the provider to allow. - If called without the DRY_RUN option, indicates whether the function was successful or there was an error. Both messages include the provider organization name.