-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathViaInfo.cs
More file actions
33 lines (29 loc) · 915 Bytes
/
ViaInfo.cs
File metadata and controls
33 lines (29 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Diagnostics.CodeAnalysis;
namespace System.Data.Sql
{
/// <summary>
/// Virtual Interface Architecture information for a SQL Server instance
/// </summary>
public sealed class ViaInfo
{
/// <summary>
/// The NetBIOS name of a machine where the server resides
/// </summary>
public string NetBios { get; }
/// <summary>
/// The VIA network interface card (NIC) identifier
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Nic")]
public string Nic { get; }
/// <summary>
/// The VIA NIC's port
/// </summary>
public int Port { get; }
internal ViaInfo(string netBios, string nic, int port)
{
NetBios = netBios;
Nic = nic;
Port = port;
}
}
}