GetResourcePropAttrib Method
Retrieves a dictionary of key/value pairs that denote the attributes of the specified property of the specified resource.
Namespace: Microsoft.CommerceServer.Interop.Configuration
Assembly: Microsoft.CommerceServer.Interop.Configuration.MSCSCfg (in Microsoft.CommerceServer.Interop.Configuration.MSCSCfg.dll)
Syntax
'Declaration
Function GetResourcePropAttrib ( _
strResourceName As String, _
strPropName As String _
) As Dictionary
'Usage
Dim instance As IGlobalConfig
Dim strResourceName As String
Dim strPropName As String
Dim returnValue As Dictionary
returnValue = instance.GetResourcePropAttrib(strResourceName, _
strPropName)
Dictionary GetResourcePropAttrib(
string strResourceName,
string strPropName
)
Dictionary^ GetResourcePropAttrib(
String^ strResourceName,
String^ strPropName
)
function GetResourcePropAttrib(
strResourceName : String,
strPropName : String
) : Dictionary
Parameters
- strResourceName
Type: System..::.String
The resource name.
- strPropName
Type: System..::.String
The resource property name.
Return Value
Type: Microsoft.CommerceServer.Runtime..::.Dictionary
An object reference to a Dictionary object containing the key/value pairs that denote the attributes of the specified property of the specified resource.
Remarks
The Initialize method must be called before this method can be called.
For more information about the Dictionary object, see Dictionary Object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.