다음을 통해 공유


ID 속성

Gets the ID value for the instance of Microsoft SQL Server that is the target server.

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

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property ID As Integer
    Get
‘사용 방법
Dim instance As TargetServer
Dim value As Integer

value = instance.ID
[SfcPropertyAttribute]
public int ID { get; }
[SfcPropertyAttribute]
public:
property int ID {
    int get ();
}
[<SfcPropertyAttribute>]
member ID : int
function get ID () : int

속성 값

형식: System. . :: . .Int32
An Int32 value that specifies the ID value for the instance of SQL Server that is the target server.

주의

The definition of SQL Server database components and SQL Server Agent components are recorded in the SQL Server system tables. Within a system table, one column may be designated as an identifier. An identifier is a value that is unique for all rows in the table. Identifiers are assigned by SQL Server.