Name 属性
Gets the name of the deployed 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
A String value that specifies the name of the deployed DAC.
示例
VC#
System.Console.WriteLine(deployedDac.Name);
VB
System.Console.WriteLine(deployedDac.Name)
PowerShell
Write-Host $deployedDac.Name