次の方法で共有


SPGlobalConfig.BlockedFileTypes property

NOTE: This API is now obsolete.

Obsolete. Gets or sets file types that cannot be used in the SharePoint Foundation deployment.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
Public Property BlockedFileTypes As StringCollection
    Get
    Set
'Usage
Dim instance As SPGlobalConfig
Dim value As StringCollection

value = instance.BlockedFileTypes

instance.BlockedFileTypes = value
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public StringCollection BlockedFileTypes { get; set; }

Property value

Type: System.Collections.Specialized.StringCollection
A string collection of file name extensions (without periods) that specifies file types that cannot be used.

See also

Reference

SPGlobalConfig class

SPGlobalConfig members

Microsoft.SharePoint.Administration namespace