Share via


DomainRelationshipInfo.FindDomainRole(String) Method

Definition

Finds a domain role by its name (searches base relationships as well).

public:
 Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ FindDomainRole(System::String ^ roleName);
public Microsoft.VisualStudio.Modeling.DomainRoleInfo FindDomainRole (string roleName);
member this.FindDomainRole : string -> Microsoft.VisualStudio.Modeling.DomainRoleInfo
Public Function FindDomainRole (roleName As String) As DomainRoleInfo

Parameters

roleName
String

Domain role name.

Returns

DomainRoleInfo if found and null otherwise.

Exceptions

Applies to