Compartir a través de


Name Propiedad

Gets the name of the deployed DAC.

Espacio de nombres:  Microsoft.SqlServer.Management.Utility
Ensamblado:  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Sintaxis

'Declaración
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
    Get
'Uso
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

Valor de la propiedad

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

Ejemplos

VC#

System.Console.WriteLine(deployedDac.Name);

VB

System.Console.WriteLine(deployedDac.Name)

PowerShell

Write-Host $deployedDac.Name