IObjectRuleManager.CreateGlobalButtonVisibilityAsync Method

Relativity Services API
Adds a single global button visibility object rule to Relativity.

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

Task<int> CreateGlobalButtonVisibilityAsync(
	int workspaceID,
	GlobalButtonVisibilityRuleRequest objectRuleRequest
)

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.
objectRuleRequest
Type: Relativity.Services.Interfaces.ObjectRules.Models.GlobalButtonVisibilityRuleRequest
The data about the global button visibility object rule being created.

Return Value

Type: Task<Int32>
See Also

Reference