workflow to get current site name in Visual Studio 2008

Dim siteName As String = workflowProperties.WebUrl

easy…

In Visual Studio 2008 I was trying to get the current sites URL. Doing this will allow for the workflow to be dynamically used in other sites.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>