DimensionCollection.FindByName Method (String)
Applies To: SQL Server 2016 Preview
Gets the Dimension, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public Dimension FindByName(
string name
)
public:
Dimension^ FindByName(
String^ name
)
member FindByName :
name:string -> Dimension
Public Function FindByName (
name As String
) As Dimension
Parameters
name
Type: System.StringThe name of the Dimension to be returned.
Return Value
Type: Microsoft.AnalysisServices.Dimension
The Dimension if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).
See Also
DimensionCollection Class
Microsoft.AnalysisServices Namespace
Return to top