'Declaration Public Overloads Shared Function GetServerList() As String()
public static string[] GetServerList()
Return Value
An array of available TNS aliases.
'Declaration Public Overloads Shared Function GetServerList() As String()
public static string[] GetServerList()
public void DisplayServerList() { string[] serverList = OracleConnection.GetServerList(); foreach (string server in serverList) Console.WriteLine(server); }
Public Sub DisplayServerList() Dim serverList As String() = OracleConnection.GetServerList() Dim server As String For Each server In serverList Console.WriteLine(server) Next server End Sub 'DisplayServerList