'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
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