FederationCollection.ItemById 方法
Returns the federation object using the specified identifier.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function ItemById ( _
id As Integer _
) As Federation
用法
Dim instance As FederationCollection
Dim id As Integer
Dim returnValue As Federation
returnValue = instance.ItemById(id)
public Federation ItemById(
int id
)
public:
Federation^ ItemById(
int id
)
member ItemById :
id:int -> Federation
public function ItemById(
id : int
) : Federation
参数
- id
类型:System.Int32
The identifier that corresponds to the federation object.
返回值
类型:Microsoft.SqlServer.Management.Smo.Federation
The federation object with the specified identifier.