SPOriginalIssuers.Format method (SPOriginalIssuerType)
Formats a valid issuer from an issuer type.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function Format ( _
type As SPOriginalIssuerType _
) As String
'Usage
Dim type As SPOriginalIssuerType
Dim returnValue As String
returnValue = SPOriginalIssuers.Format(type)
public static string Format(
SPOriginalIssuerType type
)
Parameters
type
Type: Microsoft.SharePoint.Administration.Claims.SPOriginalIssuerTypeThe SPOriginalIssuerType object to format into a valid issuer string.
Return value
Type: System.String
A string that contains a valid original issuer.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the identifier is String.Empty when the type requires an identifier. |