Annotation.GenerateKey Method (RepositoryLocation, Int32, Int32)
Generates a cache key for this annotation.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Shared Function GenerateKey ( _
scorecardLocation As RepositoryLocation, _
sliceHashCode As Integer, _
cellPathHashCode As Integer _
) As String
'Usage
Dim scorecardLocation As RepositoryLocation
Dim sliceHashCode As Integer
Dim cellPathHashCode As Integer
Dim returnValue As String
returnValue = Annotation.GenerateKey(scorecardLocation, _
sliceHashCode, cellPathHashCode)
public static string GenerateKey(
RepositoryLocation scorecardLocation,
int sliceHashCode,
int cellPathHashCode
)
Parameters
scorecardLocation
Type: Microsoft.PerformancePoint.Scorecards.RepositoryLocationThe location of the scorecard in the repository.
sliceHashCode
Type: System.Int32The hash code that represents the scorecard slice that the annotation is associated with.
cellPathHashCode
Type: System.Int32The hash code that represents the coordinates of the scorecard cell that the annotation is associated with.
Return Value
Type: System.String
A cache key for this annotation.