SPWeb.GetSubwebsForCurrentUser method (Int32, Int16)
取得目前的網站中目前的使用者是成員,根據指定的站台定義和組態下子網站。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetSubwebsForCurrentUser ( _
nWebTemplateFilter As Integer, _
nConfigurationFilter As Short _
) As SPWebCollection
'用途
Dim instance As SPWeb
Dim nWebTemplateFilter As Integer
Dim nConfigurationFilter As Short
Dim returnValue As SPWebCollection
returnValue = instance.GetSubwebsForCurrentUser(nWebTemplateFilter, _
nConfigurationFilter)
public SPWebCollection GetSubwebsForCurrentUser(
int nWebTemplateFilter,
short nConfigurationFilter
)
參數
nWebTemplateFilter
Type: System.Int32網站定義中。此參數相當於Template中的項目Collaborative Application Markup Language (CAML)的ID屬性。
nConfigurationFilter
Type: System.Int16設定識別碼 (ID)。此參數相當於Configuration中的項目連同 CAML 的ID屬性。
傳回值
Type: Microsoft.SharePoint.SPWebCollection
子網站。