This documentation is archived and is not being maintained.

Newsgroups Property

Exchange Server 2003

Newsgroups Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The newsgroup recipients for the message.

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

        [Visual Basic]Property Newsgroups As String
        [C++]HRESULT get_Newsgroups(BSTRpVal);
HRESULT put_Newsgroups(BSTR Val);

Parameters

pVal
Returns the value of the Newsgroups property as a reference to a BSTR.
Val
Sets the value of the Newsgroups property to the value of the BSTR.

Remarks

This property is also available as the newsgroups Field in the schema.

The string in the Newsgroups property can represent a single newsgroup or multiple newsgroups. A newsgroup name is a set of words concatenated by periods:

microsoft.public.discussion

Commas separate multiple newsgroups in the list:

alt.sample,sample.newsgroup.name,microsoft.public.chat

A newsgroup name cannot contain a comma.

Only existing newsgroups should be specified. If a newsgroup with a given name does not exist, posting to that name does not cause the newsgroup to be created.

The Newsgroups property is required on news messages. If you do not set it before calling the IMessage.Post method, an error is returned.

Responses to this message are posted to the same newsgroups unless the IMessage.FollowUpTo property is set.

The default value of Newsgroups is an empty string.

See Also

newsgroups Field

Show: