DeployedDac.Name Property
Gets the name of the deployed DAC.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the name of the deployed DAC.
Examples
VC#
System.Console.WriteLine(deployedDac.Name);
VB
System.Console.WriteLine(deployedDac.Name)
PowerShell
Write-Host $deployedDac.Name