MiningStructureCollection.GetByName Method (String)

 

Applies To: SQL Server 2016 Preview

Gets the MiningStructure by the specified name from the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

public MiningStructure GetByName(
    string name
)
public:
MiningStructure^ GetByName(
    String^ name
)
member GetByName : 
        name:string -> MiningStructure
Public Function GetByName (
    name As String
) As MiningStructure

Parameters

Return Value

Type: Microsoft.AnalysisServices.MiningStructure

The MiningStructure if it exists in the collection.

Exceptions

Exception Condition
ItemNotFoundException

name does not exist in the collection.

See Also

MiningStructureCollection Class
Microsoft.AnalysisServices Namespace

Return to top