Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets a domain role with a specific ID.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Function GetDomainRole ( _
id As Guid _
) As DomainRoleInfo
public DomainRoleInfo GetDomainRole(
Guid id
)
public:
DomainRoleInfo^ GetDomainRole(
Guid id
)
member GetDomainRole :
id:Guid -> DomainRoleInfo
public function GetDomainRole(
id : Guid
) : DomainRoleInfo
Parameters
- id
Type: System.Guid
The ID of the domain role.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
A DomainRoleInfo object with the specified ID.
Exceptions
| Exception | Condition |
|---|---|
| DomainDataNotFoundException | If the requested domain role is not found. |
.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.