NetName プロパティ
SQL Server インスタンスのネットワーク名を取得します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<DisplayDescriptionKeyAttribute("Server_NetNameDesc")> _
<DisplayNameKeyAttribute("Server_NetNameName")> _
ReadOnly Property NetName As String
Get
'使用
Dim instance As IServerInformation
Dim value As String
value = instance.NetName
[DisplayDescriptionKeyAttribute("Server_NetNameDesc")]
[DisplayNameKeyAttribute("Server_NetNameName")]
string NetName { get; }
[DisplayDescriptionKeyAttribute(L"Server_NetNameDesc")]
[DisplayNameKeyAttribute(L"Server_NetNameName")]
property String^ NetName {
String^ get ();
}
[<DisplayDescriptionKeyAttribute("Server_NetNameDesc")>]
[<DisplayNameKeyAttribute("Server_NetNameName")>]
abstract NetName : string
function get NetName () : String