GetItemById 메서드 (Int32, String)
Extracts a member from the referenced collection using a system-defined, unique identifier and name.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Protected Function GetItemById ( _
id As Integer, _
idPropName As String _
) As SqlSmoObject
‘사용 방법
Dim id As Integer
Dim idPropName As String
Dim returnValue As SqlSmoObject
returnValue = Me.GetItemById(id, idPropName)
protected SqlSmoObject GetItemById(
int id,
string idPropName
)
protected:
SqlSmoObject^ GetItemById(
int id,
String^ idPropName
)
member GetItemById :
id:int *
idPropName:string -> SqlSmoObject
protected function GetItemById(
id : int,
idPropName : String
) : SqlSmoObject
매개 변수
- id
형식: System. . :: . .Int32
An Int32 value that uniquely identifies the object that is a member of the referenced collection.
- idPropName
형식: System. . :: . .String
A String value that specifies the name of the property.
반환 값
형식: Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
An Object system object that has the specified ID value.
주의
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.