다음을 통해 공유


SPVirtualServerConfig.JobEmailInserts Property

NOTE: This API is now obsolete.

Obsolete. The e-mail insert feature has been removed. The JobEmailInserts property always returns false, and setting the property has no effect. (In Windows SharePoint Services 2.0, the JobEmailInserts property was used to get or set a value that specified how often to check the public folder for new e-mail attachments for a document library, 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("E-Mail Inserts have been removed from WSS V3.")> _
Public Property JobEmailInserts As String
    Get
    Set
'Usage
Dim instance As SPVirtualServerConfig
Dim value As String

value = instance.JobEmailInserts

instance.JobEmailInserts = value
[ObsoleteAttribute("E-Mail Inserts have been removed from WSS V3.")]
public string JobEmailInserts { get; set; }

Property Value

Type: System.String
A string that specifies how often to check for new e-mail messages.

Remarks

  • The timer string formats that are used in the JobEmailInserts property are specific and are case-sensitive. The following examples indicate the correct formats to use, where integer values can range from 0 to 60 every 1 minute:

  • Every 1 minute between 0 and 59

  • Daily at 06:00:00

  • Daily at 6am

  • Daily between 06:00:00 and 22:00:00

  • Daily between 6am and 10pm

  • Hourly at 30

  • Hourly between 1 and 29

  • Hourly between 1 and 30 minutes past the hour

If the string formats are not set as indicated, they default to "Hourly between 1 and 59".

For changes in this property to take effect, use SPVirtualServerConfig.Properties.Update() to save the settings.

See Also

Reference

SPVirtualServerConfig Class

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace