Skip to content

Commit b71c402

Browse files
MSDN-WhiteKnightRon Petrusha
authored andcommitted
Update SqlDataSourceEnumerator.xml (#2227)
- Remove unnecessary mentions of SQL Server 2000 and 2005 - Update SQL Server versions list with currently supported versions - Replaced msdn links with relative docs links
1 parent bf4bf0d commit b71c402

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

xml/System.Data.Sql/SqlDataSourceEnumerator.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
<format type="text/markdown"><![CDATA[
2222
2323
## Remarks
24-
Both SQL Server 2000 and SQL Server 2005 make it possible for applications to determine the existence of SQL Server instances within the current network. The <xref:System.Data.Sql.SqlDataSourceEnumerator> class exposes this information to the application developer, providing a <xref:System.Data.DataTable> containing information about all the available servers. This returned table contains a list of server instances that matches the list provided when a user attempts to create a new connection, and on the `Connection Properties` dialog box, expands the drop-down list containing all the available servers.
24+
SQL Server makes it possible for applications to determine the existence of its instances within the current network. The <xref:System.Data.Sql.SqlDataSourceEnumerator> class exposes this information to the application developer, providing a <xref:System.Data.DataTable> containing information about all the available servers. This returned table contains a list of server instances that matches the list provided when a user attempts to create a new connection, and on the `Connection Properties` dialog box, expands the drop-down list containing all the available servers.
2525
2626
]]></format>
2727
</remarks>
28-
<related type="Article" href="https://msdn.microsoft.com/library/ddf1c83c-9d40-45e6-b04d-9828c6cbbfdc">Enumerating Instances of SQL Server</related>
28+
<related type="Article" href="/dotnet/framework/data/adonet/sql/enumerating-instances-of-sql-server">Enumerating Instances of SQL Server</related>
2929
</Docs>
3030
<Members>
3131
<Member MemberName="GetDataSources">
@@ -47,7 +47,7 @@
4747
</ReturnValue>
4848
<Parameters />
4949
<Docs>
50-
<summary>Retrieves a <see cref="T:System.Data.DataTable" /> containing information about all visible SQL Server 2000 or SQL Server 2005 instances.</summary>
50+
<summary>Retrieves a <see cref="T:System.Data.DataTable" /> containing information about all visible SQL Server instances.</summary>
5151
<returns>A <see cref="T:System.Data.DataTable" /> containing information about the visible SQL Server instances.</returns>
5252
<remarks>
5353
<format type="text/markdown"><![CDATA[
@@ -60,7 +60,7 @@
6060
|**ServerName**|Name of the server.|
6161
|**InstanceName**|Name of the server instance. Blank if the server is running as the default instance.|
6262
|**IsClustered**|Indicates whether the server is part of a cluster.|
63-
|**Version**|Version of the server (8.00.x for SQL Server 2000, and 9.00.x for SQL Server 2005).|
63+
|**Version**|Version of the server:<br /><br />10.0.xx for SQL Server 2008<br />10.50.x for SQL Server 2008 R2<br />11.0.xx for SQL Server 2012<br />12.0.xx for SQL Server 2014<br />13.0.xx for SQL Server 2016<br />14.0.xx for SQL Server 2017|
6464
6565
> [!NOTE]
6666
> Due to the nature of the mechanism used by <xref:System.Data.Sql.SqlDataSourceEnumerator> to locate data sources on a network, the method will not always return a complete list of the available servers, and the list might not be the same on every call. If you plan to use this function to let users select a server from a list, make sure that you always also supply an option to type in a name that is not in the list, in case the server enumeration does not return all the available servers. In addition, this method may take a significant amount of time to execute, so be careful about calling it when performance is critical.
@@ -133,7 +133,7 @@ class Program
133133
134134
]]></format>
135135
</remarks>
136-
<related type="Article" href="https://msdn.microsoft.com/library/ddf1c83c-9d40-45e6-b04d-9828c6cbbfdc">Enumerating Instances of SQL Server</related>
136+
<related type="Article" href="/dotnet/framework/data/adonet/sql/enumerating-instances-of-sql-server">Enumerating Instances of SQL Server</related>
137137
</Docs>
138138
</Member>
139139
<Member MemberName="Instance">
@@ -216,8 +216,8 @@ class Program
216216
217217
]]></format>
218218
</remarks>
219-
<related type="Article" href="https://msdn.microsoft.com/library/ddf1c83c-9d40-45e6-b04d-9828c6cbbfdc">Enumerating Instances of SQL Server</related>
219+
<related type="Article" href="/dotnet/framework/data/adonet/sql/enumerating-instances-of-sql-server">Enumerating Instances of SQL Server</related>
220220
</Docs>
221221
</Member>
222222
</Members>
223-
</Type>
223+
</Type>

0 commit comments

Comments
 (0)