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)
Available in Sandboxed Solutions: No

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