external help file | Module Name | online version | schema |
---|---|---|---|
AMSoftware.Crm.PowerShell.Commands.dll-Help.xml |
AMSoftware.Crm |
2.0.0 |
Update a relationship.
Set-CrmRelationship [-InputObject] <RelationshipMetadataBase> [-PassThru] [<CommonParameters>]
Set-CrmRelationship [-Name] <String> [-AdvancedFind <Boolean>] [-IsHierarchical <Boolean>]
[-Customizable <Boolean>] [-PassThru] [<CommonParameters>]
Update a relationship.
Whether the relationship appears in Advanced Find.
Type: System.Boolean
Parameter Sets: SetRelationship
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Whether the relationship is a custom relationship.
Type: System.Boolean
Parameter Sets: SetRelationship
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The updated RelationshipMetadata for the relationship.
Type: Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase
Parameter Sets: SetRelationshipByInputObject
Aliases: Relationship
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Whether this relationship is the designated hierarchical self-referential relationship for this entity
Type: System.Boolean
Parameter Sets: SetRelationship
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The SchemaName of the relationship.
Type: System.String
Parameter Sets: SetRelationship
Aliases: SchemaName
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Returns an object that represents the RelationshipMetadata. By default, this cmdlet does not generate any output.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Set-CrmRelationshipCascadeConfig