共用方式為


SPGlobalAdmin.MailCodePage Property

NOTE: This API is now obsolete.

Use the UpdateMailSettings method of the SPAdministrationWebApplication class to update default mail settings instead. (In Windows SharePoint Services 2.0, the MailCodePage property got the language code page used for e-mail messages, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Default mail settings are now updated through SPAdministrationWebApplication.Local.UpdateMailSettings().",  _
    False)> _
Public ReadOnly Property MailCodePage As Integer
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As Integer

value = instance.MailCodePage
[ObsoleteAttribute("Default mail settings are now updated through SPAdministrationWebApplication.Local.UpdateMailSettings().", 
    false)]
public int MailCodePage { get; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the code page.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace