サーバー接続の別名で使用されるプロトコルの名前を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo.Wmi
アセンブリ: Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement.dll)
構文
'宣言
Public Property ProtocolName As String
Get
Set
'使用
Dim instance As ServerAlias
Dim value As String
value = instance.ProtocolName
instance.ProtocolName = value
public string ProtocolName { get; set; }
public:
property String^ ProtocolName {
String^ get ();
void set (String^ value);
}
member ProtocolName : string with get, set
function get ProtocolName () : String
function set ProtocolName (value : String)
プロパティ値
型: System.String
サーバー接続の別名で使用されるプロトコルの名前を示す String 値です。
使用例
WMI プロバイダーを使用したサービスの管理とネットワーク設定
関連項目
参照
Microsoft.SqlServer.Management.Smo.Wmi 名前空間