IObjectRuleManager.UpdateGlobalButtonVisibilityAsync Method (Int32, Int32, GlobalButtonVisibilityRuleRequest, DateTime)

Relativity Services API
Restricts updates to the properties of the global button visibility object rule to the date that it was last modified.

Namespace:  Relativity.Services.Interfaces.ObjectRules
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

Task UpdateGlobalButtonVisibilityAsync(
	int workspaceID,
	int objectRuleID,
	GlobalButtonVisibilityRuleRequest objectRuleRequest,
	DateTime lastModifiedOn
)

Parameters

workspaceID
Type: System.Int32
The ArtifactID of the workspace where the global button visibility object rule should be created. Use -1 to indicate the admin workspace.
objectRuleID
Type: System.Int32
The Artifact ID of the global button visibility object rule.
objectRuleRequest
Type: Relativity.Services.Interfaces.ObjectRules.Models.GlobalButtonVisibilityRuleRequest
The data about the global button visibility object rule being updated.
lastModifiedOn
Type: System.DateTime
The date and time used for comparison with the last modified date assigned to the global button visibility object rule.

Return Value

Type: Task
See Also

Reference