Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the provider with the specified provider name from the collection.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetProviderByName ( _
providerName As String _
) As T
'Usage
Dim instance As SPTrustedProviderCollection
Dim providerName As String
Dim returnValue As T
returnValue = instance.GetProviderByName(providerName)
public T GetProviderByName(
string providerName
)
Parameters
providerName
Type: System.StringThe name of the provider to retrieve from the collection.
Return Value
Type: T
The provider that is retrieved from the collection with providerName.
Remarks
This method retrieves the provider with the providerName from the collection.
This method returns null if it cannot find a provider with that name.
See Also
Reference
SPTrustedProviderCollection<T> Class