Add-R1DataSourceSchemaLink
Add-R1DataSourceSchemaLink
SYNOPSIS
Links a schema to a data source.
SYNTAX
Single (Default)
Add-R1DataSourceSchemaLink -name <String> -schemaName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Bulk
Add-R1DataSourceSchemaLink -schemaNames <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Links a schema to a named data source, or links a set of schemas to whichever data sources they belong to. The names of the data sources that changed are returned.
EXAMPLES
Example 1
Add-R1DataSourceSchemaLink -name 'opendj' -schemaName 'default'
Links the default schema to opendj.
Example 2
Add-R1DataSourceSchemaLink -schemaNames 'default', 'sales'
Links two schemas in a single request.
PARAMETERS
-name
The name of the data source.
Type: String
Parameter Sets: Single
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-schemaName
The name of the schema.
Type: String
Parameter Sets: Single
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-schemaNames
The names of the schemas to link.
Type: String[]
Parameter Sets: Bulk
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.String
NOTES
This command has not been exercised against a live deployment, so its behaviour rests on the published API definition alone.