Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Finds a domain role by name.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Function FindDomainRole ( _
roleName As String _
) As DomainRoleInfo
public DomainRoleInfo FindDomainRole(
string roleName
)
public:
DomainRoleInfo^ FindDomainRole(
String^ roleName
)
member FindDomainRole :
roleName:string -> DomainRoleInfo
public function FindDomainRole(
roleName : String
) : DomainRoleInfo
Parameters
roleName
Type: StringDomain role name
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
A DomainRoleInfo object if found; otherwise, null.
Remarks
FindDomainRole also searches any base relationships.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.