Поделиться через


Свойство DeployedDac.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 

См. также

Справочник

DeployedDac Класс

Пространство имен Microsoft.SqlServer.Management.Utility