Share via


ServerRole.ID 속성

Gets the ID value that uniquely identifies the server role.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
‘사용 방법
Dim instance As ServerRole 
Dim value As Integer 

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

속성 값

유형: System.Int32
An Int32 value that specifies the ID value that uniquely identifies the server role.

사용자, 역할 및 로그인 관리

참고 항목

참조

ServerRole 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

고정 서버 역할의 권한(데이터베이스 엔진)

sp_addsrvrolemember(Transact-SQL)