ResourceAuthorizationDataSet.ResourcesDataTable.AddResourcesRow method (Guid, String, Boolean, Boolean, Guid, Boolean)
Adiciona um objeto de ResourcesRow de .by de ResourcesDataTableusando parâmetros separados.
Namespace: WebSvcResource
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaração
Public Function AddResourcesRow ( _
RES_UID As Guid, _
WRES_ACCOUNT As String, _
RES_IS_WINDOWS_USER As Boolean, _
RES_PREVENT_ADSYNC As Boolean, _
WRES_AD_GUID As Guid, _
RES_EXCHANGE_SYNC As Boolean _
) As ResourceAuthorizationDataSet.ResourcesRow
'Uso
Dim instance As ResourceAuthorizationDataSet.ResourcesDataTable
Dim RES_UID As Guid
Dim WRES_ACCOUNT As String
Dim RES_IS_WINDOWS_USER As Boolean
Dim RES_PREVENT_ADSYNC As Boolean
Dim WRES_AD_GUID As Guid
Dim RES_EXCHANGE_SYNC As Boolean
Dim returnValue As ResourceAuthorizationDataSet.ResourcesRow
returnValue = instance.AddResourcesRow(RES_UID, _
WRES_ACCOUNT, RES_IS_WINDOWS_USER, _
RES_PREVENT_ADSYNC, WRES_AD_GUID, _
RES_EXCHANGE_SYNC)
public ResourceAuthorizationDataSet.ResourcesRow AddResourcesRow(
Guid RES_UID,
string WRES_ACCOUNT,
bool RES_IS_WINDOWS_USER,
bool RES_PREVENT_ADSYNC,
Guid WRES_AD_GUID,
bool RES_EXCHANGE_SYNC
)
Parameters
- RES_UID
Type: System.Guid
Contém o GUID do recurso.
- WRES_ACCOUNT
Type: System.String
Contém as informações de conta de recurso.
- RES_IS_WINDOWS_USER
Type: System.Boolean
Especifica se o recurso é um usuário do windows.
- RES_PREVENT_ADSYNC
Type: System.Boolean
Especifica se o recurso impede que adsync.
- WRES_AD_GUID
Type: System.Guid
Contém a GUID de autorização de recurso.
- RES_EXCHANGE_SYNC
Type: System.Boolean
Especifica se deve sincronizar as informações de recursos com o Microsoft Exchange.
Return value
Type: WebSvcResource.ResourceAuthorizationDataSet.ResourcesRow
Retorna ResourceAuthorizationDataSet.ResourcesRow
See also
Reference
ResourceAuthorizationDataSet.ResourcesDataTable class