Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NServerSettings Class / SaveToFile Method


In This Topic
    SaveToFile Method (NServerSettings)
    In This Topic
    Saves the server configuration state to a web.config file pointed by file.
    Syntax
    'Declaration
     
    
    Public Sub SaveToFile( _
       ByVal file As System.String, _
       ByVal serverConfigSectionName As System.String _
    ) 
    'Usage
     
    
    Dim instance As NServerSettings
    Dim file As System.String
    Dim serverConfigSectionName As System.String
     
    instance.SaveToFile(file, serverConfigSectionName)
    public void SaveToFile( 
       System.string file,
       System.string serverConfigSectionName
    )

    Parameters

    file
    serverConfigSectionName
    Remarks
    This function will throw an exception if it is unable to create or open the file.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also