WssSettingsDataSet.WssAdminDataTable.AddWssAdminRow Method (Guid, Guid, String, Int32, String, Int32, Byte, Byte, Int32, Int32, Int32, Int32)
Adds a WssAdminRow object to the WssSettingsDataTable, by using separate parameters.
Namespace: [WssInterop Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/WssInterop.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/WssInterop.asmx?wsdl
Syntax
'Declaration
Public Function AddWssAdminRow ( _
WADMIN_UIDFAKE As Guid, _
WADMIN_CURRENT_STS_SERVER_UID As Guid, _
WADMIN_DEFAULT_SITE_COLLECTION As String, _
WADMIN_WSS_RESTRICT_WORKSPACE_CREATION As Integer, _
WADMIN_STS_TEMPLATE_ID As String, _
WADMIN_STS_TEMPLATE_LCID As Integer, _
WADMIN_AUTO_CREATE_SUBWEBS As Byte, _
WADMIN_AUTO_ADD_USER_TO_SUBWEB As Byte, _
WADMIN_WSS_PWA_ADMIN_ROLE_ID As Integer, _
WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer, _
WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer, _
WADMIN_WSS_PWA_READER_ROLE_ID As Integer _
) As WssSettingsDataSet.WssAdminRow
'Usage
Dim instance As WssSettingsDataSet.WssAdminDataTable
Dim WADMIN_UIDFAKE As Guid
Dim WADMIN_CURRENT_STS_SERVER_UID As Guid
Dim WADMIN_DEFAULT_SITE_COLLECTION As String
Dim WADMIN_WSS_RESTRICT_WORKSPACE_CREATION As Integer
Dim WADMIN_STS_TEMPLATE_ID As String
Dim WADMIN_STS_TEMPLATE_LCID As Integer
Dim WADMIN_AUTO_CREATE_SUBWEBS As Byte
Dim WADMIN_AUTO_ADD_USER_TO_SUBWEB As Byte
Dim WADMIN_WSS_PWA_ADMIN_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID As Integer
Dim WADMIN_WSS_PWA_READER_ROLE_ID As Integer
Dim returnValue As WssSettingsDataSet.WssAdminRow
returnValue = instance.AddWssAdminRow(WADMIN_UIDFAKE, _
WADMIN_CURRENT_STS_SERVER_UID, _
WADMIN_DEFAULT_SITE_COLLECTION, _
WADMIN_WSS_RESTRICT_WORKSPACE_CREATION, _
WADMIN_STS_TEMPLATE_ID, WADMIN_STS_TEMPLATE_LCID, _
WADMIN_AUTO_CREATE_SUBWEBS, WADMIN_AUTO_ADD_USER_TO_SUBWEB, _
WADMIN_WSS_PWA_ADMIN_ROLE_ID, WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID, _
WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID, _
WADMIN_WSS_PWA_READER_ROLE_ID)
public WssSettingsDataSet.WssAdminRow AddWssAdminRow(
Guid WADMIN_UIDFAKE,
Guid WADMIN_CURRENT_STS_SERVER_UID,
string WADMIN_DEFAULT_SITE_COLLECTION,
int WADMIN_WSS_RESTRICT_WORKSPACE_CREATION,
string WADMIN_STS_TEMPLATE_ID,
int WADMIN_STS_TEMPLATE_LCID,
byte WADMIN_AUTO_CREATE_SUBWEBS,
byte WADMIN_AUTO_ADD_USER_TO_SUBWEB,
int WADMIN_WSS_PWA_ADMIN_ROLE_ID,
int WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID,
int WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID,
int WADMIN_WSS_PWA_READER_ROLE_ID
)
Parameters
- WADMIN_UIDFAKE
Type: System.Guid
- WADMIN_CURRENT_STS_SERVER_UID
Type: System.Guid
- WADMIN_DEFAULT_SITE_COLLECTION
Type: System.String
- WADMIN_WSS_RESTRICT_WORKSPACE_CREATION
Type: System.Int32
- WADMIN_STS_TEMPLATE_ID
Type: System.String
- WADMIN_STS_TEMPLATE_LCID
Type: System.Int32
- WADMIN_AUTO_CREATE_SUBWEBS
Type: System.Byte
- WADMIN_AUTO_ADD_USER_TO_SUBWEB
Type: System.Byte
- WADMIN_WSS_PWA_ADMIN_ROLE_ID
Type: System.Int32
- WADMIN_WSS_PWA_PROJECT_MANAGER_ROLE_ID
Type: System.Int32
- WADMIN_WSS_PWA_TEAM_MEMBER_ROLE_ID
Type: System.Int32
- WADMIN_WSS_PWA_READER_ROLE_ID
Type: System.Int32
Return Value
Type: [WssInterop Web service].WssSettingsDataSet.WssAdminRow
Returns WssSettingsDataSet.WssAdminRow.
Remarks
In general, developers should use the AddWssAdminRow overload.
See Also
Reference
WssSettingsDataSet.WssAdminDataTable Class