AggregationDesignCollection.GetByName Method (String)
Applies To: SQL Server 2016 Preview
Gets the AggregationDesign, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public AggregationDesign GetByName(
string name
)
public:
AggregationDesign^ GetByName(
String^ name
)
member GetByName :
name:string -> AggregationDesign
Public Function GetByName (
name As String
) As AggregationDesign
Parameters
name
Type: System.StringThe name of the AggregationDesign to be returned.
Return Value
Type: Microsoft.AnalysisServices.AggregationDesign
The AggregationDesign, if contained in the collection.
Exceptions
Exception | Condition |
---|---|
ItemNotFoundException | name is not contained by the collection. |
See Also
AggregationDesignCollection Class
Microsoft.AnalysisServices Namespace
Return to top