次の方法で共有


SPWellKnownAppPrincipal.TryGetWellKnownAppPrincipal method

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function TryGetWellKnownAppPrincipal ( _
    clientId As String, _
    <OutAttribute> ByRef wellKnownAppPrincipal As SPWellKnownAppPrincipal _
) As Boolean
'Usage
Dim clientId As String
Dim wellKnownAppPrincipal As SPWellKnownAppPrincipal
Dim returnValue As Boolean

returnValue = SPWellKnownAppPrincipal.TryGetWellKnownAppPrincipal(clientId, _
    wellKnownAppPrincipal)
public static bool TryGetWellKnownAppPrincipal(
    string clientId,
    out SPWellKnownAppPrincipal wellKnownAppPrincipal
)

Parameters

Return value

Type: System.Boolean

See also

Reference

SPWellKnownAppPrincipal class

SPWellKnownAppPrincipal members

Microsoft.SharePoint.Administration namespace