New-R1NamingContextContainer

SYNOPSIS

Adds a child container node.

SYNTAX

New-R1NamingContextContainer [-dn] <String> [-relationshipObjectDn] <String> [[-isQuoteTableNames] <Boolean>]
 [[-isQuoteColumnNames] <Boolean>] [[-isRelatedObjectsOnly] <Boolean>] [[-schema] <String>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

DESCRIPTION

Adds a container node beneath the naming context node identified by its DN, built from the given relationship object.

EXAMPLES

Example 1

New-R1NamingContextContainer -dn 'ou=context,o=views' -relationshipObjectDn 'APP.EMPLOYEES' -schema 'northwind'

Adds a container presenting the APP.EMPLOYEES table of the northwind schema beneath ou=context,o=views. The container is named after the schema and numbered, such as dv=northwind0, with a node for the table, EMPLOYEES, beneath it.

Example 2

Get-R1NamingContextChild -dn 'dv=northwind0,ou=context,o=views'

Returns the table node beneath the new container, which is where content nodes are added.

PARAMETERS

-dn

The DN of the naming context node.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-relationshipObjectDn

The relationship object the new node is built from, given as a comma separated path of schema objects.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-isQuoteTableNames

Quotes table names in the generated queries. Sent as false when not specified.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-isQuoteColumnNames

Quotes column names in the generated queries. Sent as false when not specified.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-isRelatedObjectsOnly

Restricts the node to related objects only. Sent as false when not specified, as the API would otherwise take it to be true.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: False
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-schema

The name of the schema holding the relationship object.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
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.Void

NOTES

The relationship object must already exist in a data catalog schema.

Get-R1NamingContextChild

New-R1NamingContextContent