BuildMaster SDK Reference
Version:

GetProviderNameSafe Method

Gets the name of the provider

Syntax

protected virtual string GetProviderNameSafe()

Returns

Provider name or "(unknown)"

Remarks

This will first attempt to use the ProviderName property, and if that's null (Nothing in Visual Basic) or empty, then look-up the name from the database using ProviderId, and then "(unknown)" if that fails.