Condividi tramite


Proprietà Name

Gets the name of the deployed DAC.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

VC#

System.Console.WriteLine(deployedDac.Name);

VB

System.Console.WriteLine(deployedDac.Name)

PowerShell

Write-Host $deployedDac.Name