Freigeben über


Name-Eigenschaft

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

Eigenschaftswert

Typ: System. . :: . .String
A String value that specifies the name of the deployed DAC.

Beispiele

VC#

System.Console.WriteLine(deployedDac.Name);

VB

System.Console.WriteLine(deployedDac.Name)

PowerShell

Write-Host $deployedDac.Name