RoleCollection.Find Method (String)

 

Applies To: SQL Server 2016 Preview

Gets the Role that has the specified identifier from the collection.

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

Syntax

public Role Find(
    string id
)
public:
Role^ Find(
    String^ id
)
member Find : 
        id:string -> Role
Public Function Find (
    id As String
) As Role

Parameters

Return Value

Type: Microsoft.AnalysisServices.Role

The Role if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

RoleCollection Class
Microsoft.AnalysisServices Namespace

Return to top