Właściwość DeployedDac.Name
Pobiera nazwę wdrożonym DAC.
Przestrzeń nazw: Microsoft.SqlServer.Management.Utility
Zestaw: Microsoft.SqlServer.Management.Utility (w Microsoft.SqlServer.Management.Utility.dll)
Składnia
'Deklaracja
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
Get
'Użycie
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
Wartość właściwości
Typ: System.String
A String wartość, która określa nazwę wdrożonym DAC.
Przykłady
VC #
System.Console.WriteLine(deployedDac.Name);
VB
System.Console.WriteLine(deployedDac.Name)
PowerShell
Write-Host $deployedDac.Name