by1455的自留地

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Imports System.Web

Imports System.Collections

Imports Microsoft.SharePoint

Imports Microsoft.SharePoint.Utilities

 

Module Module1

 

Sub Main()

  Using SPSite As New SPSite("http://devisa2/Sites/Lab02")

    Using web As SPWeb = SPSite.OpenWeb()

      Dim props As SPPropertyBag = web.Properties

      For Each de As DictionaryEntry In props

        Console.WriteLine("Key = {0}, Value = {1}", de.Key, de.Value)

      Next

    End Using

  End Using

  Console.ReadLine()

End Sub

End Module

 

posted on 2010-01-12 10:57  by1455  阅读(169)  评论(0编辑  收藏  举报