NamedSetToken Constructor

Initializes a new instance of the NamedSetToken class.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
public NamedSetToken(
	Guid projectId,
	Guid ownerId,
	TokenOwnerKind ownerKind,
	IHierarchy hierarchy,
	ParameterValue selection
)

Parameters

projectId
Type: SystemGuid
The ID of the project associated with the token. Specify Empty if the token is not associated with a project.
ownerId
Type: SystemGuid
The ID of the account or tenant associated with the token. Specify Empty if there is no such association.
ownerKind
Type: Dundas.BI.Data.Parameters.TokensTokenOwnerKind
Specifies the kind of object referenced by ownerId.
hierarchy
Type: Dundas.BI.Data.MetadataIHierarchy
The hierarchy.
selection
Type: Dundas.BI.Data.ParametersParameterValue
The selection.
Exceptions
ExceptionCondition
ArgumentExceptionownerId is Empty and ownerKind is not None or selection is not valid.
ArgumentOutOfRangeExceptionownerKind is not one of the TokenOwnerKind values.
ArgumentNullExceptionhierarchy or selection is .
See Also