Share via


NamedSetCollection.Find Method

Gets the specified NamedSet from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As NamedSet
public NamedSet Find (
    string name
)
public:
NamedSet^ Find (
    String^ name
)
public NamedSet Find (
    String name
)
public function Find (
    name : String
) : NamedSet

Parameters

  • name
    The name of the NamedSet to find.

Remarks

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NamedSetCollection Class
NamedSetCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace