다음을 통해 공유


Name 속성

Gets the name of the deployed DAC.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
<SfcKeyAttribute()> _
<SfcPropertyAttribute> _
Public ReadOnly Property Name As String
    Get
‘사용 방법
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

속성 값

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

VC#

System.Console.WriteLine(deployedDac.Name);

VB

System.Console.WriteLine(deployedDac.Name)

PowerShell

Write-Host $deployedDac.Name