共用方式為


ServerRoleCollection.ItemById(Int32) Method

Definition

public Microsoft.SqlServer.Management.Smo.ServerRole ItemById (int id);
member this.ItemById : int -> Microsoft.SqlServer.Management.Smo.ServerRole
Public Function ItemById (id As Integer) As ServerRole

Parameters

id
Int32

Returns

Applies to