WordServiceFormats.DisableFromExtensions Method
Disables the specified set of file name extensions from use with this instance of the service application.
Namespace: Microsoft.Office.Word.Server.Service
Assembly: Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)
Syntax
'Declaration
Public Sub DisableFromExtensions ( _
disabledExtensions As String() _
)
'Usage
Dim instance As WordServiceFormats
Dim disabledExtensions As String()
instance.DisableFromExtensions(disabledExtensions)
public void DisableFromExtensions(
string[] disabledExtensions
)
Parameters
disabledExtensions
Type: []The possible values for this parameter are: DOC, DOCX, XML, MHTML, and RTF.