Aracılığıyla paylaş


DiscoveryDataRecordFile.AddStringProperty Method (String, DdmDiscoveryFlags, UInt32, String)

 

Adds a string property to the DDR.

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

Syntax

public void AddStringProperty(
    string name,
    DdmDiscoveryFlags flags,
    uint maxWidth,
    string value
)
public:
void AddStringProperty(
    String^ name,
    DdmDiscoveryFlags flags,
    unsigned int maxWidth,
    String^ value
)
Public Sub AddStringProperty (
    name As String,
    flags As DdmDiscoveryFlags,
    maxWidth As UInteger,
    value As String
)

Parameters

  • maxWidth
    Type: System.UInt32

    Maximum string width; strings longer than this value are truncated.

See Also

DiscoveryDataRecordFile Class
Microsoft.ConfigurationManagement.Messaging.Messages.Server Namespace

Return to top