AddSiteToAccount(String,String,String) Method
Site Identifier of site to be added.
The identifier of the Account to which the site will be added.
Name of the Site Role the Site will play for the Account.
Adds a Site to an existing Account specifying the Site's role in the account. This overload takes a set of required parameters for the API.
Syntax
'Declaration
Public Overloads Function AddSiteToAccount( _
ByVal _siteIDNum_ As String, _
ByVal _accountIDNum_ As String, _
ByVal _roleName_ As String _
) As ToolkitResult
public ToolkitResult AddSiteToAccount(
string _siteIDNum_,
string _accountIDNum_,
string _roleName_
)
Parameters
siteIDNum
Site Identifier of site to be added.
accountIDNum
The identifier of the Account to which the site will be added.
roleName
Name of the Site Role the Site will play for the Account.
Return Value
The following values are populated in the ToolkitResult object returned by the API method:
- Objid - Objid of the Site Role that is created to link the Site to the Account.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
InterfacesToolkit Class
InterfacesToolkit Members
Overload List