UFN_SYSTEMROLE_GETTASKLIST_TOITEMLISTXML
Used to convert the results of UFN_SYSTEMROLE_GETTASKLIST to xml.
Return
Return Type |
---|
xml |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@SYSTEMROLEID | uniqueidentifier | IN |
Definition
Copy
/*
Generated by Blackbaud AppFx Platform
Date: 12/17/2008 2:06:24 AM
Assembly Version: Blackbaud.AppFx.Platform.SqlClr, Version=1.7.1271.0, Culture=neutral, PublicKeyToken=null
Based on: UFN_SYSTEMROLE_GETTASKLIST
Copyright Blackbaud
*/
CREATE FUNCTION dbo.[UFN_SYSTEMROLE_GETTASKLIST_TOITEMLISTXML](
@SYSTEMROLEID uniqueidentifier
)
returns xml
as
BEGIN
RETURN (
SELECT [DISPLAYONHOMEPAGE], [ID], [TASKID]
FROM dbo.[UFN_SYSTEMROLE_GETTASKLIST](@SYSTEMROLEID)
for xml raw('ITEM'),type,elements,root('TASKLIST'),BINARY BASE64
)
END