[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a string property to the DDR

Namespace:  Microsoft.ConfigurationManagement.Messaging.Messages.Server
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
void 
AddStringProperty(
	
string 
name,
	

DdmDiscoveryFlags 
flags,
	
uint 
maxWidth,
	
string 
value
)
Public 
Sub 
AddStringProperty ( _
	
name 
As 
String, _
	
flags 
As 

DdmDiscoveryFlags, _
	
maxWidth 
As 
UInteger, _
	
value 
As 
String _
)
public:
void 
AddStringProperty(
	
String^ 
name, 
	

DdmDiscoveryFlags 
flags, 
	
unsigned int 
maxWidth, 
	
String^ 
value
)

Parameters

name
String
Property name
flags
DdmDiscoveryFlags
Property flags
maxWidth
UInt32
Maximum string width; strings longer than this value are truncated
value
String
Property value

See Also