IWebmasterApi.AddPagePreviewBlock(String, String, BlockReason) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
void AddPagePreviewBlock(System::String ^ siteUrl, System::String ^ url, Microsoft::Bing::Webmaster::Shared::DataContracts::BlockReason reason);
[System.ServiceModel.FaultContract(typeof(Microsoft.Bing.Webmaster.Api.Interfaces.ApiFault))]
[System.ServiceModel.OperationContract]
[System.ServiceModel.Web.WebInvoke(BodyStyle=System.ServiceModel.Web.WebMessageBodyStyle.WrappedRequest, Method="POST")]
public void AddPagePreviewBlock (string siteUrl, string url, Microsoft.Bing.Webmaster.Shared.DataContracts.BlockReason reason);
abstract member AddPagePreviewBlock : string * string * Microsoft.Bing.Webmaster.Shared.DataContracts.BlockReason -> unit
Public Sub AddPagePreviewBlock (siteUrl As String, url As String, reason As BlockReason)
Parameters
- siteUrl
- String
- url
- String
- reason
- Microsoft.Bing.Webmaster.Shared.DataContracts.BlockReason
- Attributes