Saves a connection string without relying on WebCOnfigurationManger, so it can be used in medium trust.
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool SaveConnectionString(
string name,
string value,
XDocument xmlFile
) |
Visual Basic |
---|
Public Shared Function SaveConnectionString (
name As String,
value As String,
xmlFile As XDocument
) As Boolean |
Visual C++ |
---|
public:
static bool SaveConnectionString(
String^ name,
String^ value,
XDocument^ xmlFile
) |
F# |
---|
static member SaveConnectionString :
name : string *
value : string *
xmlFile : XDocument -> bool
|
Return Value
Type:
BooleanTrue if save was successful, false otherwise.
See Also