AddFolderForeignKey Procedure (Repository.Item Schema) Home
AddFolderForeignKey Procedure (Repository.Item Schema)

Adds a foreign key constraint to the [Repository.Item].[FoldersTable] table.

[Repository.Item].[AddFolderForeignKey] ( @schema, @baseName, @folderColumn )
Arguments

@schema

Type: sysname. The schema for the target table or view.

@baseName

Type: nvarchar(99). The name of the target table or view. If this is the name of a view, then the table name must use the same base name appended with the word "Table".

@folderColumn

Type: sysname. The column name that stores Folder values in the target table or view.

Remarks

See Also

Reference

Repository.Item Procedures
Repository.Item Schema

Send comments about this topic to Microsoft.

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View