Changed restrictScope to restrictToScope

Its called restrictToScope, not restrictScope.

From SharePoint sp.workflowservices.js source:
get_restrictToScope: function
SP_WorkflowServices_WorkflowDefinition$get_restrictToScope() {ULS8GF:;
set_restrictToScope: function
SP_WorkflowServices_WorkflowDefinition$set_restrictToScope(value)
{ULS8GF:;

Same as in the managed API:

http://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.workflowservices.workflowdefinition.restricttoscope(v=office.15).aspx
This commit is contained in:
Allan Hvam
2014-11-15 12:10:38 +01:00
parent a6b1e4ff84
commit 570e1f7a19
+2 -2
View File
@@ -8410,11 +8410,11 @@ declare module SP.WorkflowServices {
/** RestrictToScope is a GUID value, used in conjunction with the RestrictToType property to further restrict the scope of the definition.
For example, if the RestrictToType is "List", then setting the RestrictToScope to a particular list identifier limits the definition to be associable only to the specified list.
If the RestrictToType is "List" but the RestrictToScope is null or the empty string, then the definition is associable to any list. */
get_restrictScope(): string;
get_restrictToScope(): string;
/** RestrictToScope is a GUID value, used in conjunction with the RestrictToType property to further restrict the scope of the definition.
For example, if the RestrictToType is "List", then setting the RestrictToScope to a particular list identifier limits the definition to be associable only to the specified list.
If the RestrictToType is "List" but the RestrictToScope is null or the empty string, then the definition is associable to any list. */
set_restrictScope(value: string): string;
set_restrictToScope(value: string): string;
/** RestrictToType determines the possible event source type for a workflow subscription that uses this definition.
Possible values include "List", "Site", the empty string, or null. */
get_restrictToType(): string;