3.1.5.2 proc_AddBuildDependency

The proc_AddBuildDependency stored procedure is invoked to associate a build dependency with a specified document.

 PROCEDURE proc_AddBuildDependency(
       @DocSiteId                     uniqueidentifier,
       @DocDirName                    nvarchar(256),
       @DocLeafName                   nvarchar(128),
       @TargetDirName                 nvarchar(256),
       @TargetLeafName                nvarchar(128),
       @DirectDependency              bit
 );
  

@DocSiteId: The Site Collection Identifier (section 2.2.1.9) for the site collection that contains the document. This parameter MUST NOT be NULL.

@DocDirName: The directory name of the document in store-relative form. This parameter MUST NOT be NULL.

@DocLeafName: The leaf name of the document. This parameter MUST NOT be NULL.

@TargetDirName: The directory name of the item to declare as a dependency of the document.

@TargetLeafName: The leaf name of the item to declare as a dependency of the document. This value MUST NOT be NULL.

@DirectDependency: Set to 1 if the target is a direct dependency. Set to 0 if indirect, such as a dependency of a dependency. This value MUST NOT be NULL.

Return Values: The proc_AddBuildDependency stored procedure MUST return an integer return code of 0.

The proc_AddBuildDependency stored procedure MUST NOT return a result set.