GetDefaultLanguage Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the marketing system default language.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Overridable Function GetDefaultLanguage As String
'Usage
Dim instance As MarketingWebService
Dim returnValue As String
returnValue = instance.GetDefaultLanguage()
[WebMethodAttribute]
public virtual string GetDefaultLanguage()
[WebMethodAttribute]
public:
virtual String^ GetDefaultLanguage()
public function GetDefaultLanguage() : String
Return Value
Type: System..::.String
The language code of the marketing system default language.
Remarks
Returns a culture code string (for example "en-US") that describes the default language used for multi-lingual strings in the Marketing System.
If the default language is nullNothingnullptra null reference (Nothing in Visual Basic), the language from the SiteResources is returned.
Permissions
- 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.