ServiceContractCollection.ItemById Yöntemi
Ayıklayan bir üye dan ServiceContractCollection koleksiyonunu kullanarak bir sistem tanımlı, benzersiz tanımlayıcısı.
Ad Alanı: Microsoft.SqlServer.Management.Smo.Broker
Derleme: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo içinde.dll)
Sözdizimi
'Bildirim
Public Function ItemById ( _
id As Integer _
) As ServiceContract
'Kullanım
Dim instance As ServiceContractCollection
Dim id As Integer
Dim returnValue As ServiceContract
returnValue = instance.ItemById(id)
public ServiceContract ItemById(
int id
)
public:
ServiceContract^ ItemById(
int id
)
member ItemById :
id:int -> ServiceContract
public function ItemById(
id : int
) : ServiceContract
Parametreler
- id
Tür: System.Int32
Bir Int32 , benzersiz olarak tanımlayan bir değer ServiceContract üye olan nesne ServiceContractCollection koleksiyon.
Dönüş Değeri
Tür: Microsoft.SqlServer.Management.Smo.Broker.ServiceContract
A ServiceContract nesnesi olan belirtilen kimlik değeri.
Ayrıca bkz.