Compartilhar via


Propriedade do RDL ServerRole.ID

Gets the ID value that uniquely identifies the server role.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ID As Integer 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Gerenciando usuários, funções e logons

Consulte também

Referência

ServerRole Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Permissões de funções de servidor fixas (Mecanismo de Banco de Dados)

sp_addsrvrolemember (Transact-SQL)