SPWebServerCollection.Item 属性

获取集合中指定索引处的 Web 服务器对象。在 C# 中,此属性是SPWebServerCollection类的索引器。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPWebServer
    Get
用法
Dim instance As SPWebServerCollection
Dim index As Integer
Dim value As SPWebServer

value = instance(index)
public SPWebServer this[
    int index
] { get; }

参数

  • index
    类型:System.Int32

    一个 32 整数,它指定的索引。

属性值

类型:Microsoft.SharePoint.Administration.SPWebServer
SPWebServer 对象,该对象代表 Web 服务器。

另请参阅

引用

SPWebServerCollection 类

SPWebServerCollection 成员

Microsoft.SharePoint.Administration 命名空间