DeployedDac.Name Property

Definition

Gets the name of the deployed DAC.

public:
 property System::String ^ Name { System::String ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)]
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty]
public string Name { get; }
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcKey(0)>]
[<Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty>]
member this.Name : string
Public ReadOnly Property Name As String

Property Value

A String value that specifies the name of the deployed DAC.

Attributes

Examples

VC#

System.Console.WriteLine(deployedDac.Name);  

VB

System.Console.WriteLine(deployedDac.Name)  

PowerShell

Write-Host $deployedDac.Name   

Applies to