DeployedDac.Name プロパティ
配置済み DAC の名前を取得します。
名前空間: Microsoft.SqlServer.Management.Utility
アセンブリ: Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)
構文
'宣言
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
Get
'使用
Dim instance As DeployedDac
Dim value As String
value = instance.Name
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public string Name { get; }
[SfcKeyAttribute()]
[SfcPropertyAttribute]
public:
property String^ Name {
String^ get ();
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute>]
member Name : string
function get Name () : String
プロパティ値
型: System.String
配置済み DAC の名前を示す String 値です。
使用例
VC#
System.Console.WriteLine(deployedDac.Name);
VB
System.Console.WriteLine(deployedDac.Name)
PowerShell
Write-Host $deployedDac.Name