다음을 통해 공유


Name 속성

Gets the name of the SQL Server Agent service.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public ReadOnly Property Name As String
    Get
‘사용 방법
Dim instance As JobServer
Dim value As String

value = instance.Name
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Name { get; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Name {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Name : string
function get Name () : String

속성 값

형식: System. . :: . .String
A String value that specifies the name of the SQL Server Agent service.